projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[PATCH] VFS: Permit filesystem to perform statfs with a known root dentry
[deliverable/linux.git]
/
arch
/
mips
/
kernel
/
sysirix.c
diff --git
a/arch/mips/kernel/sysirix.c
b/arch/mips/kernel/sysirix.c
index 5407b784cd01abd2a42f769d0c345e75514acfaa..19e1ef43eb4be8d19f435008e587a344d713e668 100644
(file)
--- a/
arch/mips/kernel/sysirix.c
+++ b/
arch/mips/kernel/sysirix.c
@@
-694,7
+694,7
@@
asmlinkage int irix_statfs(const char __user *path,
if (error)
goto out;
if (error)
goto out;
- error = vfs_statfs(nd.dentry
->d_inode->i_sb
, &kbuf);
+ error = vfs_statfs(nd.dentry, &kbuf);
if (error)
goto dput_and_out;
if (error)
goto dput_and_out;
@@
-732,7
+732,7
@@
asmlinkage int irix_fstatfs(unsigned int fd, struct irix_statfs __user *buf)
goto out;
}
goto out;
}
- error = vfs_statfs(file->f_dentry
->d_inode->i_sb
, &kbuf);
+ error = vfs_statfs(file->f_dentry, &kbuf);
if (error)
goto out_f;
if (error)
goto out_f;
@@
-1360,7
+1360,7
@@
asmlinkage int irix_statvfs(char __user *fname, struct irix_statvfs __user *buf)
error = user_path_walk(fname, &nd);
if (error)
goto out;
error = user_path_walk(fname, &nd);
if (error)
goto out;
- error = vfs_statfs(nd.dentry
->d_inode->i_sb
, &kbuf);
+ error = vfs_statfs(nd.dentry, &kbuf);
if (error)
goto dput_and_out;
if (error)
goto dput_and_out;
@@
-1406,7
+1406,7
@@
asmlinkage int irix_fstatvfs(int fd, struct irix_statvfs __user *buf)
error = -EBADF;
goto out;
}
error = -EBADF;
goto out;
}
- error = vfs_statfs(file->f_dentry
->d_inode->i_sb
, &kbuf);
+ error = vfs_statfs(file->f_dentry, &kbuf);
if (error)
goto out_f;
if (error)
goto out_f;
@@
-1611,7
+1611,7
@@
asmlinkage int irix_statvfs64(char __user *fname, struct irix_statvfs64 __user *
error = user_path_walk(fname, &nd);
if (error)
goto out;
error = user_path_walk(fname, &nd);
if (error)
goto out;
- error = vfs_statfs(nd.dentry
->d_inode->i_sb
, &kbuf);
+ error = vfs_statfs(nd.dentry, &kbuf);
if (error)
goto dput_and_out;
if (error)
goto dput_and_out;
@@
-1658,7
+1658,7
@@
asmlinkage int irix_fstatvfs64(int fd, struct irix_statvfs __user *buf)
error = -EBADF;
goto out;
}
error = -EBADF;
goto out;
}
- error = vfs_statfs(file->f_dentry
->d_inode->i_sb
, &kbuf);
+ error = vfs_statfs(file->f_dentry, &kbuf);
if (error)
goto out_f;
if (error)
goto out_f;
This page took
0.031246 seconds
and
5
git commands to generate.