path: root/libglusterfs/src/common-utils.h
diff options
authorNiels de Vos <>2014-04-10 22:09:53 +0200
committerVijay Bellur <>2014-04-11 17:58:59 -0700
commite73af16885f6d11ebcb225edb4d12214ceeba74c (patch)
treec469f83f99aa5386d8ff1de2f8d5f4e477373035 /libglusterfs/src/common-utils.h
parentd69c1bd9b4caf633745e08be61921ac8636d5991 (diff)
mount.glusterfs: return an error when mounting failed
When mounting fails, mount.glusterfs incorrectly returns 0 for some error cases, it should return 1 instead. Also make sure that error messages are redirected to /dev/stderr and not printed to stdout. Unfortunately it is not possible with the current test-scripts to test commands like 'mount -t glusterfs ...'. Any mounting of Gluster volumes is done directly with the 'glusterfs' command instead. Change-Id: Ica9d45b6d5ae537de869a1fa0f6c3edab47225d1 BUG: 1031973 Signed-off-by: Niels de Vos <> Reviewed-on: Reviewed-by: Harshavardhana <> Tested-by: Gluster Build System <> Reviewed-by: Vijay Bellur <>
Diffstat (limited to 'libglusterfs/src/common-utils.h')
0 files changed, 0 insertions, 0 deletions