aboutsummaryrefslogtreecommitdiffstats
path: root/fs/proc/task_nommu.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/proc/task_nommu.c')
-rw-r--r--fs/proc/task_nommu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/proc/task_nommu.c b/fs/proc/task_nommu.c
index 343ea1216bc8..6ca01052c5bc 100644
--- 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)
49 else 49 else
50 bytes += kobjsize(mm); 50 bytes += kobjsize(mm);
51 51
52 if (current->fs && atomic_read(&current->fs->count) > 1) 52 if (current->fs && current->fs->users > 1)
53 sbytes += kobjsize(current->fs); 53 sbytes += kobjsize(current->fs);
54 else 54 else
55 bytes += kobjsize(current->fs); 55 bytes += kobjsize(current->fs);