summaryrefslogtreecommitdiffstats
path: root/xlators/nfs/server/src/nfs3.h
diff options
context:
space:
mode:
authorAnand Avati <avati@gluster.com>2010-10-12 01:22:11 +0000
committerVijay Bellur <vijay@dev.gluster.com>2010-10-12 00:11:19 -0700
commitefa94a4237bc98c629671e6fbb58948789604fe5 (patch)
tree7f6309a10f40970647c0ff0d79816caa2cee916e /xlators/nfs/server/src/nfs3.h
parentc3b6df1a8e27c66a5c17cc1d6a92fdc37354ae6f (diff)
Revert "nfs3: Revalidate inode on receiving ESTALE on lookup"
This reverts commit f5afcc47f9f00472d6c2b3f48127e02332cd457a. 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/nfs3.h')
-rw-r--r--xlators/nfs/server/src/nfs3.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/xlators/nfs/server/src/nfs3.h b/xlators/nfs/server/src/nfs3.h
index 823a911dcc9..a43fdc4af28 100644
--- a/xlators/nfs/server/src/nfs3.h
+++ b/xlators/nfs/server/src/nfs3.h
@@ -134,10 +134,6 @@ struct nfs3_state {
int fdcount;
};
-typedef enum nfs3_revalidate {
- GF_NFS3_REVALIDATE = 1,
- GF_NFS3_NONREVALIDATE
-} nfs3_revalidate_t;
typedef int (*nfs3_resume_fn_t) (void *cs);
/* Structure used to communicate state between a fop and its callback.
@@ -201,11 +197,8 @@ struct nfs3_local {
int hashidx;
fd_t *resolve_dir_fd;
char *resolventry;
- nfs3_revalidate_t revalidate;
};
-#define nfs3_is_revalidate_lookup(cst) ((cst)->revalidate == GF_NFS3_REVALIDATE)
-
typedef struct nfs3_local nfs3_call_state_t;
/* Queue of ops waiting for open fop to return. */