summaryrefslogtreecommitdiffstats
path: root/arch/x86
diff options
context:
space:
mode:
authorIlya Dryomov <ilya.dryomov@inktank.com>2014-05-22 19:28:52 +0400
committerYan, Zheng <zheng.z.yan@intel.com>2014-06-06 09:29:59 +0800
commitb30a01f2a307f55a505762ba09c0440d906c6711 (patch)
tree7f9ff0633c8dfef285ef546117b40867df9be710 /arch/x86
parent30ba1f020221991cf239d905c82984958f29bdfe (diff)
rbd: fix osd_request memory leak in __rbd_dev_header_watch_sync()
osd_request, along with r_request and r_reply messages attached to it are leaked in __rbd_dev_header_watch_sync() if the requested image doesn't exist. This is because lingering requests are special and get an extra ref in the reply path. Fix it by unregistering linger request on the error path and split __rbd_dev_header_watch_sync() into two functions to make it maintainable. Signed-off-by: Ilya Dryomov <ilya.dryomov@inktank.com>
Diffstat (limited to 'arch/x86')
0 files changed, 0 insertions, 0 deletions