projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
75b8c13
)
NFS: Fix NFS mountpoint crossing...
author
Trond Myklebust
<Trond.Myklebust@netapp.com>
Wed, 12 Dec 2007 00:01:45 +0000
(19:01 -0500)
committer
Trond Myklebust
<Trond.Myklebust@netapp.com>
Wed, 12 Dec 2007 00:01:45 +0000
(19:01 -0500)
The check that was added to nfs_xdev_get_sb() to work around broken
servers, works fine for NFSv2, but causes mountpoint crossing on NFSv3 to
always return ESTALE.
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/super.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/nfs/super.c
b/fs/nfs/super.c
index 2426e713b77f19567f82824c39126acacb59721d..ea929207f27412e24a04631a301339b5990f7830 100644
(file)
--- a/
fs/nfs/super.c
+++ b/
fs/nfs/super.c
@@
-1475,7
+1475,7
@@
static int nfs_xdev_get_sb(struct file_system_type *fs_type, int flags,
error = PTR_ERR(mntroot);
goto error_splat_super;
}
- if (mntroot->d_inode->i_op !=
&nfs_dir_inode_operation
s) {
+ if (mntroot->d_inode->i_op !=
server->nfs_client->rpc_ops->dir_inode_op
s) {
dput(mntroot);
error = -ESTALE;
goto error_splat_super;