summaryrefslogtreecommitdiffstats
path: root/xlators/nfs/server/src/nfs-inodes.h
diff options
context:
space:
mode:
authorAnand Avati <avati@gluster.com>2010-10-11 06:43:35 +0000
committerVijay Bellur <vijay@dev.gluster.com>2010-10-11 07:31:33 -0700
commit563ef3d12f8d7a927b403d04c279d9fc702faad0 (patch)
tree97f4aeab4d7233a779d3913d6249e871054112a0 /xlators/nfs/server/src/nfs-inodes.h
parent6dd3b7fa3bc7acf9281cc17f08010675e2297089 (diff)
nfs: re-implement logic to perform fresh lookups when lookup revalidates fail
- implement lookup to pass via inode layer so that looked up entries make it to inode cache - implement lookup revalidation failure check in the fop layer Signed-off-by: Anand V. Avati <avati@blackhole.gluster.com> Signed-off-by: Vijay Bellur <vijay@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-inodes.h')
-rw-r--r--xlators/nfs/server/src/nfs-inodes.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/nfs/server/src/nfs-inodes.h b/xlators/nfs/server/src/nfs-inodes.h
index ef79a11537d..a34a2673867 100644
--- a/xlators/nfs/server/src/nfs-inodes.h
+++ b/xlators/nfs/server/src/nfs-inodes.h
@@ -80,6 +80,6 @@ nfs_inode_mknod (xlator_t *nfsx, xlator_t *xl, nfs_user_t *nfu, loc_t *pathloc,
mode_t mode, dev_t dev, fop_mknod_cbk_t cbk, void *local);
extern int
-nfs_inode_lookup (xlator_t *xl, nfs_user_t *nfu, loc_t *pathloc,
+nfs_inode_lookup (xlator_t *nfsx, xlator_t *xl, nfs_user_t *nfu, loc_t *pathloc,
fop_lookup_cbk_t cbk, void *local);
#endif