diff options
author | Tomas Winkler <tomas.winkler@intel.com> | 2014-03-10 15:10:40 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-03-17 15:52:06 -0700 |
commit | cc99ecfdac01215594c73907726b12f251c21e20 (patch) | |
tree | 00e6eb535d5567a30caa7125b9990656cdb03df2 /block/blk-mq.c | |
parent | b1b94b5d387e3a1f034c308e22f9295828d7174a (diff) |
mei: fix memory leak of pending write cb objects
Write callbacks are released on the write completed path but
when file handler is closed before the writes are
completed those are left dangling on write and write_waiting queues.
We add mei_io_list_free function to perform this task
Also move static functions to client.c form client.h
Cc: stable <stable@vger.kernel.org> # 3.11+
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Alexander Usyskin <alexander.usyskin@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'block/blk-mq.c')
0 files changed, 0 insertions, 0 deletions