VFS: normal filesystems (and lustre): d_inode() annotations
[linux-2.6-block.git] / fs / proc / root.c
index e74ac9f1a2c09cdec0621b244b0d9abc8de44699..b7fa4bfe896a2c17f05dd97add756bed889fd2b6 100644 (file)
@@ -195,7 +195,7 @@ void __init proc_root_init(void)
 static int proc_root_getattr(struct vfsmount *mnt, struct dentry *dentry, struct kstat *stat
 )
 {
-       generic_fillattr(dentry->d_inode, stat);
+       generic_fillattr(d_inode(dentry), stat);
        stat->nlink = proc_root.nlink + nr_processes();
        return 0;
 }