]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
IB/ipath: Really run work in ipath_release_user_pages_on_close()
authorRoland Dreier <rolandd@cisco.com>
Mon, 23 Feb 2009 04:14:37 +0000 (20:14 -0800)
committerRoland Dreier <rolandd@cisco.com>
Mon, 23 Feb 2009 04:14:37 +0000 (20:14 -0800)
commite538052746d570c874650a24eed89fca6e4c93dc
tree308b1a9829002328cdd91ef913a486b31b6342c2
parent71c4512201575c7cc008b364e2e2c75cc7085c26
IB/ipath: Really run work in ipath_release_user_pages_on_close()

ipath_release_user_pages_on_close() just allocated a structure to
schedule work with but just returned (leaking the structure) rather than
actually doing schedule_work().  Fix the logic to what was intended.

This was spotted by the Coverity checker (CID 2700).

Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/ipath/ipath_user_pages.c