X-Git-Url: http://git.samba.org/samba.git/?a=blobdiff_plain;f=fs%2Fstat.c;h=68510068a6414e46f510033f9dc1477a4704672b;hb=30e748a507919a41f9eb4d10b4954f453325a37d;hp=a0ebfc7f8a6446e361a0146fc39dbbc5883c058f;hpb=0a01707b289853f56d1c000057b27e243c039722;p=sfrench%2Fcifs-2.6.git diff --git a/fs/stat.c b/fs/stat.c index a0ebfc7f8a64..68510068a641 100644 --- a/fs/stat.c +++ b/fs/stat.c @@ -8,7 +8,6 @@ #include #include #include -#include #include #include #include @@ -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;