From ac5e34ec840889bc3eaf07d2f7091432ff698fe2 Mon Sep 17 00:00:00 2001 From: Shehjar Tikoo Date: Thu, 25 Nov 2010 00:17:07 +0000 Subject: nfs: Undo selective changes in inode revalidation Those changes were brought in by commit 161850285ff06e90f2c990989bab9513dd4a4289: "nfs: re-implement logic to perform fresh lookups when lookup revalidates fail" Signed-off-by: Shehjar Tikoo Signed-off-by: Anand V. Avati BUG: 1756 (NFS must revalidate inode on first ESTALE on lookup) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1756 --- xlators/nfs/server/src/nfs-generics.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'xlators/nfs/server/src/nfs-generics.c') diff --git a/xlators/nfs/server/src/nfs-generics.c b/xlators/nfs/server/src/nfs-generics.c index eb6dc580..0ebba689 100644 --- a/xlators/nfs/server/src/nfs-generics.c +++ b/xlators/nfs/server/src/nfs-generics.c @@ -83,8 +83,7 @@ nfs_lookup (xlator_t *nfsx, xlator_t *xl, nfs_user_t *nfu, loc_t *pathloc, if ((!nfsx) || (!xl) || (!pathloc) || (!nfu)) return ret; - ret = nfs_inode_lookup (nfsx, xl, nfu, pathloc, cbk, local); - + ret = nfs_fop_lookup (nfsx, xl, nfu, pathloc, cbk, local); return ret; } -- cgit