aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/ceph
diff options
context:
space:
mode:
authorIlya Dryomov <ilya.dryomov@inktank.com>2014-06-20 10:29:20 -0400
committerIlya Dryomov <ilya.dryomov@inktank.com>2014-07-08 07:08:45 -0400
commit76756a51e27984692fe0affa564e89ee8d323e66 (patch)
tree905f22e40bc4e2f7a95c8db69aac4d98feda068d /include/linux/ceph
parentbb040aa03ce870b0eff21ee75f7f324cd8cabe03 (diff)
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 'include/linux/ceph')
0 files changed, 0 insertions, 0 deletions