diff options
author | Krutika Dhananjay <kdhananj@redhat.com> | 2012-11-23 10:33:12 +0530 |
---|---|---|
committer | Anand Avati <avati@redhat.com> | 2012-12-10 14:18:17 -0800 |
commit | 845aba3ddcfaf7bcef283002b7b5bbf2075d4539 (patch) | |
tree | df3c803ed422683ce7b2b75a0a8f52d542003329 /glusterfs.spec.in | |
parent | 07c40a2d149f9adfa4ce400051c1313127349192 (diff) |
glusterd: fail vol set when value = empty string/string with all whitespaces
PROBLEM:
'volume set' operation accepts empty strings and strings containing
all whitespaces for value. The result - subsequent attempts to start
glusterd fail.
FIX:
Added relevant checks in xlator_option_validate_* functions in options.c
and in conversion functions in common-utils.c to invalidate wrong option
values.
Change-Id: I33232c6b42ab4fcce85c2d0e0b0da145fc9232c3
BUG: 859927
Signed-off-by: Krutika Dhananjay <kdhananj@redhat.com>
Reviewed-on: http://review.gluster.org/4033
Reviewed-by: Pranith Kumar Karampuri <pkarampu@redhat.com>
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Anand Avati <avati@redhat.com>
Diffstat (limited to 'glusterfs.spec.in')
0 files changed, 0 insertions, 0 deletions