Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 26815
b: refs/heads/master
c: 0cb4fe8
h: refs/heads/master
i:
  26813: 0108bb5
  26811: 5ed8ef8
  26807: 7a64ea9
  26799: 9c37163
  26783: 3f03816
  26751: 7682f21
v: v3
  • Loading branch information
Roland Dreier committed May 18, 2006
1 parent 7c73b4b commit e361731
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 093beac189e4295d968f0d38787b46f76cb0eaaa
refs/heads/master: 0cb4fe8d2658dc0bd1accfbb74ee288a9d6788f4
4 changes: 3 additions & 1 deletion trunk/drivers/infiniband/core/uverbs_mem.c
Original file line number Diff line number Diff line change
Expand Up @@ -211,8 +211,10 @@ void ib_umem_release_on_close(struct ib_device *dev, struct ib_umem *umem)
*/

work = kmalloc(sizeof *work, GFP_KERNEL);
if (!work)
if (!work) {
mmput(mm);
return;
}

INIT_WORK(&work->work, ib_umem_account, work);
work->mm = mm;
Expand Down

0 comments on commit e361731

Please sign in to comment.