diff options
author | Ilya Dryomov <ilya.dryomov@inktank.com> | 2014-06-20 18:29:20 +0400 |
---|---|---|
committer | Ilya Dryomov <ilya.dryomov@inktank.com> | 2014-07-08 15:08:45 +0400 |
commit | 76756a51e27984692fe0affa564e89ee8d323e66 (patch) | |
tree | 905f22e40bc4e2f7a95c8db69aac4d98feda068d /net/openvswitch/Kconfig | |
parent | bb040aa03ce870b0eff21ee75f7f324cd8cabe03 (diff) | |
download | talos-op-linux-76756a51e27984692fe0affa564e89ee8d323e66.tar.gz talos-op-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/openvswitch/Kconfig')
0 files changed, 0 insertions, 0 deletions