git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge git://git.kernel.org/pub/scm/linux/kernel/git/sam/kbuild
[pandora-kernel.git]
/
fs
/
stat.c
diff --git
a/fs/stat.c
b/fs/stat.c
index
a0ebfc7
..
6851006
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/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>
#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) {
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;
fput(f);
}
return error;