diff options
Diffstat (limited to 'fs/proc/root.c')
-rw-r--r-- | fs/proc/root.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/proc/root.c b/fs/proc/root.c index b90da888b81a..fb1955c82274 100644 --- a/fs/proc/root.c +++ b/fs/proc/root.c | |||
@@ -149,10 +149,10 @@ void __init proc_root_init(void) | |||
149 | proc_sys_init(); | 149 | proc_sys_init(); |
150 | } | 150 | } |
151 | 151 | ||
152 | static int proc_root_getattr(struct vfsmount *mnt, struct dentry *dentry, struct kstat *stat | 152 | static int proc_root_getattr(const struct path *path, struct kstat *stat, |
153 | ) | 153 | u32 request_mask, unsigned int query_flags) |
154 | { | 154 | { |
155 | generic_fillattr(d_inode(dentry), stat); | 155 | generic_fillattr(d_inode(path->dentry), stat); |
156 | stat->nlink = proc_root.nlink + nr_processes(); | 156 | stat->nlink = proc_root.nlink + nr_processes(); |
157 | return 0; | 157 | return 0; |
158 | } | 158 | } |