]> git.baikalelectronics.ru Git - kernel.git/commit
rbd: drop original request earlier for existence check
authorAlex Elder <elder@inktank.com>
Tue, 14 May 2013 01:35:38 +0000 (20:35 -0500)
committerSage Weil <sage@inktank.com>
Mon, 1 Jul 2013 16:52:02 +0000 (09:52 -0700)
commit56987b4212335ca872e85df41a2aa859630a3be2
treeb5424c4ef1bcce1219d6979e36669f2ba97d6d18
parent3013262f2d33942197c2da0d3fbf9f1e5e21f3ef
rbd: drop original request earlier for existence check

The reference to the original request dropped at the end of
rbd_img_obj_exists_callback() corresponds to the reference taken
in rbd_img_obj_exists_submit() to account for the stat request
referring to it.  Move the put of that reference up right after
clearing that pointer to make its purpose more obvious.

Signed-off-by: Alex Elder <elder@inktank.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
drivers/block/rbd.c