git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[PATCH] VFS: change struct file to use struct path
[safe/jmp/linux-2.6]
/
fs
/
stat.c
diff --git
a/fs/stat.c
b/fs/stat.c
index
a0ebfc7
..
38a8cb2
100644
(file)
--- a/
fs/stat.c
+++ b/
fs/stat.c
@@
-102,7
+102,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;