git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
linux 2.6.16.38 w/ vs2.0.3-rc1
[linux-2.6.git]
/
drivers
/
infiniband
/
core
/
uverbs_mem.c
diff --git
a/drivers/infiniband/core/uverbs_mem.c
b/drivers/infiniband/core/uverbs_mem.c
index
b543177
..
a945edd
100644
(file)
--- a/
drivers/infiniband/core/uverbs_mem.c
+++ b/
drivers/infiniband/core/uverbs_mem.c
@@
-212,10
+212,8
@@
void ib_umem_release_on_close(struct ib_device *dev, struct ib_umem *umem)
*/
work = kmalloc(sizeof *work, GFP_KERNEL);
- if (!work) {
- mmput(mm);
+ if (!work)
return;
- }
INIT_WORK(&work->work, ib_umem_account, work);
work->mm = mm;