summaryrefslogtreecommitdiffstats
path: root/xlators/nfs/server/src/nfs-fops.h
diff options
context:
space:
mode:
authorMohammed Junaid <junaid@redhat.com>2012-03-07 14:16:07 +0530
committerVijay Bellur <vijay@gluster.com>2012-03-07 09:19:33 -0800
commit1e22ab9d218405f5081a30e90c4541e43243a216 (patch)
tree2baaf670887c5a4613dd8631d3dfddb14095c750 /xlators/nfs/server/src/nfs-fops.h
parent0d99aa113d42d96b35e5bc477349b28ef161c4af (diff)
nfs: fcntl lock self healing.
Change-Id: Ic3e00e8ea3b873acbc3abb5155aecdaac848a3e5 BUG: 795386 Signed-off-by: Mohammed Junaid <junaid@redhat.com> Reviewed-on: http://review.gluster.com/2884 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Krishna Srinivas <krishna@gluster.com>
Diffstat (limited to 'xlators/nfs/server/src/nfs-fops.h')
-rw-r--r--xlators/nfs/server/src/nfs-fops.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/xlators/nfs/server/src/nfs-fops.h b/xlators/nfs/server/src/nfs-fops.h
index 2801da2c319..f86a66b2d9d 100644
--- a/xlators/nfs/server/src/nfs-fops.h
+++ b/xlators/nfs/server/src/nfs-fops.h
@@ -100,6 +100,10 @@ struct nfs_fop_local {
char newpath[NFS_NAME_MAX + 1];
xlator_t *nfsx;
dict_t *dictgfid;
+
+ fd_t *fd;
+ int cmd;
+ struct gf_flock flock;
};
extern struct nfs_fop_local *