Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=4584f520e1f773082ef44ff4f8969a5d992b16ec
Commit:     4584f520e1f773082ef44ff4f8969a5d992b16ec
Parent:     75b8c133267053c9986a7c8db5131f0e7349e806
Author:     Trond Myklebust <[EMAIL PROTECTED]>
AuthorDate: Tue Dec 11 19:01:45 2007 -0500
Committer:  Trond Myklebust <[EMAIL PROTECTED]>
CommitDate: Tue Dec 11 19:01:45 2007 -0500

    NFS: Fix NFS mountpoint crossing...
    
    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 <[EMAIL PROTECTED]>
---
 fs/nfs/super.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/fs/nfs/super.c b/fs/nfs/super.c
index 2426e71..ea92920 100644
--- 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_operations) {
+       if (mntroot->d_inode->i_op != 
server->nfs_client->rpc_ops->dir_inode_ops) {
                dput(mntroot);
                error = -ESTALE;
                goto error_splat_super;
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to