diff options
author | Ilya Dryomov <ilya.dryomov@inktank.com> | 2014-06-19 07:38:14 (GMT) |
---|---|---|
committer | Ilya Dryomov <ilya.dryomov@inktank.com> | 2014-07-08 11:08:45 (GMT) |
commit | bb040aa03ce870b0eff21ee75f7f324cd8cabe03 (patch) | |
tree | 36e10430d0b453686a82853745bfe2d27da12b80 /net | |
parent | 71c20a066f1a4ee1339db0efb58290fbb62e62f2 (diff) | |
download | linux-bb040aa03ce870b0eff21ee75f7f324cd8cabe03.tar.xz |
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 'net')
0 files changed, 0 insertions, 0 deletions