git.samba.org
/
sfrench
/
cifs-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mm: use mmget_not_zero() helper
[sfrench/cifs-2.6.git]
/
fs
/
proc
/
task_nommu.c
diff --git
a/fs/proc/task_nommu.c
b/fs/proc/task_nommu.c
index 37175621e8906881adf4e034ce06224664120031..1ef97cfcf4228737dcf02a74efea47bb8b75c574 100644
(file)
--- a/
fs/proc/task_nommu.c
+++ b/
fs/proc/task_nommu.c
@@
-219,7
+219,7
@@
static void *m_start(struct seq_file *m, loff_t *pos)
return ERR_PTR(-ESRCH);
mm = priv->mm;
- if (!mm || !
atomic_inc_not_zero(&mm->mm_users
))
+ if (!mm || !
mmget_not_zero(mm
))
return NULL;
down_read(&mm->mmap_sem);