projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
New locking/refcounting for fs_struct
[linux-2.6-block.git]
/
fs
/
proc
/
task_nommu.c
diff --git
a/fs/proc/task_nommu.c
b/fs/proc/task_nommu.c
index 343ea1216bc8e05ddc84e75af47cfbab73fee529..6ca01052c5bc265540e62f148c4c043ff9258fac 100644
(file)
--- a/
fs/proc/task_nommu.c
+++ b/
fs/proc/task_nommu.c
@@
-49,7
+49,7
@@
void task_mem(struct seq_file *m, struct mm_struct *mm)
else
bytes += kobjsize(mm);
- if (current->fs &&
atomic_read(¤t->fs->count)
> 1)
+ if (current->fs &&
current->fs->users
> 1)
sbytes += kobjsize(current->fs);
else
bytes += kobjsize(current->fs);