summaryrefslogtreecommitdiffstats
path: root/xlators/nfs/server/src/nfs.h
diff options
context:
space:
mode:
authorShehjar Tikoo <shehjart@gluster.com>2010-11-08 06:25:18 +0000
committerAnand V. Avati <avati@dev.gluster.com>2010-11-09 02:12:03 -0800
commite3808ac86f8ff5baebea59e610a791cef5f5f2c9 (patch)
treed44501f1c7aba17b23a842744169e6d96892e7b1 /xlators/nfs/server/src/nfs.h
parentbe5c02a81c19336a6b922b1e1f28293c90955e7f (diff)
nfs: Support nfs.port to allow changing nfs port numbers
Signed-off-by: Shehjar Tikoo <shehjart@gluster.com> Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 1743 (XenServer is not compatible with GlusterNFS) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1743
Diffstat (limited to 'xlators/nfs/server/src/nfs.h')
-rw-r--r--xlators/nfs/server/src/nfs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/xlators/nfs/server/src/nfs.h b/xlators/nfs/server/src/nfs.h
index 8cbcf63bb2d..6d7ed2f0422 100644
--- a/xlators/nfs/server/src/nfs.h
+++ b/xlators/nfs/server/src/nfs.h
@@ -74,6 +74,7 @@ struct nfs_state {
int subvols_started;
int dynamicvolumes;
int enable_ino32;
+ unsigned int override_portnum;
};
#define gf_nfs_dvm_on(nfsstt) (((struct nfs_state *)nfsstt)->dynamicvolumes == GF_NFS_DVM_ON)