diff options
author | Ilya Dryomov <ilya.dryomov@inktank.com> | 2014-06-19 03:38:14 -0400 |
---|---|---|
committer | Ilya Dryomov <ilya.dryomov@inktank.com> | 2014-07-08 07:08:45 -0400 |
commit | bb040aa03ce870b0eff21ee75f7f324cd8cabe03 (patch) | |
tree | 36e10430d0b453686a82853745bfe2d27da12b80 /include/linux/ceph | |
parent | 71c20a066f1a4ee1339db0efb58290fbb62e62f2 (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