Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 133626
b: refs/heads/master
c: e538052
h: refs/heads/master
v: v3
  • Loading branch information
Roland Dreier committed Feb 23, 2009
1 parent 199cb45 commit f8285f3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 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: 71c4512201575c7cc008b364e2e2c75cc7085c26
refs/heads/master: e538052746d570c874650a24eed89fca6e4c93dc
8 changes: 4 additions & 4 deletions trunk/drivers/infiniband/hw/ipath/ipath_user_pages.c
Original file line number Diff line number Diff line change
Expand Up @@ -209,20 +209,20 @@ void ipath_release_user_pages_on_close(struct page **p, size_t num_pages)

mm = get_task_mm(current);
if (!mm)
goto bail;
return;

work = kmalloc(sizeof(*work), GFP_KERNEL);
if (!work)
goto bail_mm;

goto bail;

INIT_WORK(&work->work, user_pages_account);
work->mm = mm;
work->num_pages = num_pages;

schedule_work(&work->work);
return;

bail_mm:
mmput(mm);
bail:
return;
}

0 comments on commit f8285f3

Please sign in to comment.