[MIPS] irq_cpu: use handle_percpu_irq handler to avoid dropping interrupts.
[sfrench/cifs-2.6.git] / fs / stat.c
index a0ebfc7f8a6446e361a0146fc39dbbc5883c058f..68510068a6414e46f510033f9dc1477a4704672b 100644 (file)
--- a/fs/stat.c
+++ b/fs/stat.c
@@ -8,7 +8,6 @@
 #include <linux/mm.h>
 #include <linux/errno.h>
 #include <linux/file.h>
-#include <linux/smp_lock.h>
 #include <linux/highuid.h>
 #include <linux/fs.h>
 #include <linux/namei.h>
@@ -102,7 +101,7 @@ int vfs_fstat(unsigned int fd, struct kstat *stat)
        int error = -EBADF;
 
        if (f) {
-               error = vfs_getattr(f->f_vfsmnt, f->f_dentry, stat);
+               error = vfs_getattr(f->f_path.mnt, f->f_path.dentry, stat);
                fput(f);
        }
        return error;