diff options
| author | Shehjar Tikoo <shehjart@gluster.com> | 2010-11-25 00:17:07 +0000 | 
|---|---|---|
| committer | Anand V. Avati <avati@dev.gluster.com> | 2010-11-25 06:35:13 -0800 | 
| commit | ac5e34ec840889bc3eaf07d2f7091432ff698fe2 (patch) | |
| tree | f03eef9d96590bde559e65f72e9c86837210dfff /xlators/nfs/server/src/nfs-generics.c | |
| parent | 9e67fd90e0df32b9a450632566855339b133d3a6 (diff) | |
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 <shehjart@gluster.com>
Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
BUG: 1756 (NFS must revalidate inode on first ESTALE on lookup)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1756
Diffstat (limited to 'xlators/nfs/server/src/nfs-generics.c')
| -rw-r--r-- | xlators/nfs/server/src/nfs-generics.c | 3 | 
1 files changed, 1 insertions, 2 deletions
diff --git a/xlators/nfs/server/src/nfs-generics.c b/xlators/nfs/server/src/nfs-generics.c index eb6dc580be2..0ebba689a35 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;  }  | 
