summaryrefslogtreecommitdiffstats
path: root/glustolibs-gluster
diff options
context:
space:
mode:
authorManisha Saini <msaini@redhat.com>2020-08-13 15:32:09 +0530
committerManisha Saini <msaini@redhat.com>2020-08-13 15:33:09 +0530
commitfdc21887a9675699e2beeecec40fa9fa68a298d1 (patch)
tree064d1c0f3a6a60a984806500b3a41be6f708dd09 /glustolibs-gluster
parent17dc0b481acd0b8a8e7340cf3f6789c5f74975fd (diff)
[Libfix]Fix for Default version change to vers=4.1 for Ganesha
Change-Id: I19e7e5e4338fce0d77e42dae716cc5eb5f814a17 Signed-off-by: Manisha Saini <msaini@redhat.com>
Diffstat (limited to 'glustolibs-gluster')
-rwxr-xr-xglustolibs-gluster/glustolibs/gluster/mount_ops.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/glustolibs-gluster/glustolibs/gluster/mount_ops.py b/glustolibs-gluster/glustolibs/gluster/mount_ops.py
index 02dc0a253..c8fbddd05 100755
--- a/glustolibs-gluster/glustolibs/gluster/mount_ops.py
+++ b/glustolibs-gluster/glustolibs/gluster/mount_ops.py
@@ -336,10 +336,10 @@ def mount_volume(volname, mtype, mpoint, mserver, mclient, options='',
if mtype == 'nfs':
if not options:
- options = "-o vers=3"
+ options = "-o vers=4.1"
elif options and 'vers' not in options:
- options = options + ",vers=3"
+ options = options + ",vers=4.1"
if mserver:
mcmd = ("mount -t %s %s %s:/%s %s" %