summaryrefslogtreecommitdiffstats
path: root/net/ceph
diff options
context:
space:
mode:
authorIlya Dryomov2014-06-20 16:29:20 +0200
committerIlya Dryomov2014-07-08 13:08:45 +0200
commit76756a51e27984692fe0affa564e89ee8d323e66 (patch)
tree905f22e40bc4e2f7a95c8db69aac4d98feda068d /net/ceph
parentrbd: add rbd_obj_watch_request_helper() helper (diff)
downloadkernel-qcow2-linux-76756a51e27984692fe0affa564e89ee8d323e66.tar.gz
kernel-qcow2-linux-76756a51e27984692fe0affa564e89ee8d323e66.tar.xz
kernel-qcow2-linux-76756a51e27984692fe0affa564e89ee8d323e66.zip
rbd: use rbd_obj_watch_request_helper() helper
Switch rbd_dev_header_{un,}watch_sync() to use the new helper and fix rbd_dev_header_unwatch_sync() to destroy watch_request structures before queuing watch-remove message while at it. This mistake slipped into commit b30a01f2a307 ("rbd: fix osd_request memory leak in __rbd_dev_header_watch_sync()") and could lead to "image still in use" errors on image removal. Signed-off-by: Ilya Dryomov <ilya.dryomov@inktank.com> Reviewed-by: Alex Elder <elder@linaro.org>
Diffstat (limited to 'net/ceph')
0 files changed, 0 insertions, 0 deletions