aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/ceph
diff options
context:
space:
mode:
authorIlya Dryomov <ilya.dryomov@inktank.com>2014-06-19 03:38:14 -0400
committerIlya Dryomov <ilya.dryomov@inktank.com>2014-07-08 07:08:45 -0400
commitbb040aa03ce870b0eff21ee75f7f324cd8cabe03 (patch)
tree36e10430d0b453686a82853745bfe2d27da12b80 /include/linux/ceph
parent71c20a066f1a4ee1339db0efb58290fbb62e62f2 (diff)
rbd: add rbd_obj_watch_request_helper() helper
In the past, rbd_dev_header_watch_sync() used to handle both watch and unwatch requests and was entangled and leaky. Commit b30a01f2a307 ("rbd: fix osd_request memory leak in __rbd_dev_header_watch_sync()") split it into two separate functions. This commit cleanly abstracts the common bits, relying on the fixed rbd_obj_request_wait(). Signed-off-by: Ilya Dryomov <ilya.dryomov@inktank.com> Reviewed-by: Alex Elder <elder@linaro.org>
Diffstat (limited to 'include/linux/ceph')
0 files changed, 0 insertions, 0 deletions