diff options
author | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2008-03-07 12:08:07 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2008-03-07 12:08:07 -0800 |
commit | 4c1aa6f8b9686ddc7221f0f3b63f9b7dd1467543 (patch) | |
tree | 8774d2a82e5a3682e863eb9e1ae34fd7aed8ac94 /fs/nfs/dir.c | |
parent | 5d49c101a126808a38f2a1f4eedc1fd28233e37f (diff) | |
parent | 4e99a1ff3410c627a428d5ddb6cd2e7bc908a486 (diff) | |
download | kernel_samsung_aries-4c1aa6f8b9686ddc7221f0f3b63f9b7dd1467543.zip kernel_samsung_aries-4c1aa6f8b9686ddc7221f0f3b63f9b7dd1467543.tar.gz kernel_samsung_aries-4c1aa6f8b9686ddc7221f0f3b63f9b7dd1467543.tar.bz2 |
Merge branch 'hotfixes' of git://git.linux-nfs.org/projects/trondmy/nfs-2.6
* 'hotfixes' of git://git.linux-nfs.org/projects/trondmy/nfs-2.6:
NFS: Fix dentry revalidation for NFSv4 referrals and mountpoint crossings
NFS: Fix the fsid revalidation in nfs_update_inode()
SUNRPC: Fix a nfs4 over rdma transport oops
NFS: Fix an f_mode/f_flags confusion in fs/nfs/write.c
Diffstat (limited to 'fs/nfs/dir.c')
-rw-r--r-- | fs/nfs/dir.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/nfs/dir.c b/fs/nfs/dir.c index ae04892..6cea747 100644 --- a/fs/nfs/dir.c +++ b/fs/nfs/dir.c @@ -710,6 +710,8 @@ int nfs_lookup_verify_inode(struct inode *inode, struct nameidata *nd) { struct nfs_server *server = NFS_SERVER(inode); + if (test_bit(NFS_INO_MOUNTPOINT, &NFS_I(inode)->flags)) + return 0; if (nd != NULL) { /* VFS wants an on-the-wire revalidation */ if (nd->flags & LOOKUP_REVAL) |