diff options
author | Meghana Madhusudhan <mmadhusu@redhat.com> | 2014-07-29 18:51:21 +0530 |
---|---|---|
committer | Vijay Bellur <vbellur@redhat.com> | 2014-08-05 03:33:40 -0700 |
commit | 866a9b96212989ea2cad399a56bb4b71623c6b0c (patch) | |
tree | 53d9d09a9bc94c9a318e9de006c3c690a2b02567 /extras/hook-scripts | |
parent | 6cc22537b68cb52ebc0101fca7fb232c183b00a1 (diff) |
gluster vol set nfs-ganesha.enable off fails to unexport volume.
Due to a parameter type change in upstream nfs-ganesha
( v2.1 and above ), gluster vol set <volname> nfs-ganesha.enable
off doesn't unexport the volume in question if it was already
exported.
A minor change in the hook script would result in the
expected behaviour.
Change-Id: I46f76f3cde6b6ebd7a94d5ee16f05a3648a2840f
BUG: 1124711
Signed-off-by: Meghana Madhusudhan <mmadhusu@redhat.com>
Reviewed-on: http://review.gluster.org/8390
Reviewed-by: soumya k <skoduri@redhat.com>
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Humble Devassy Chirammal <humble.devassy@gmail.com>
Reviewed-by: Vijay Bellur <vbellur@redhat.com>
Diffstat (limited to 'extras/hook-scripts')
-rwxr-xr-x | extras/hook-scripts/set/post/S31ganesha-set.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/extras/hook-scripts/set/post/S31ganesha-set.sh b/extras/hook-scripts/set/post/S31ganesha-set.sh index 4e7e7191cc2..972f82c5730 100755 --- a/extras/hook-scripts/set/post/S31ganesha-set.sh +++ b/extras/hook-scripts/set/post/S31ganesha-set.sh @@ -147,7 +147,7 @@ grep Export_Id | cut -d " " -f3` check_cmd_status `echo $?` dbus-send --print-reply --system \ --dest=org.ganesha.nfsd /org/ganesha/nfsd/ExportMgr \ -org.ganesha.nfsd.exportmgr.RemoveExport int32:$removed_id +org.ganesha.nfsd.exportmgr.RemoveExport uint16:$removed_id check_cmd_status `echo $?` } |