summaryrefslogtreecommitdiffstats
path: root/xlators/storage/posix/src/posix.c
diff options
context:
space:
mode:
authorBasavanagowda Kanur <gowda@gluster.com>2009-03-11 18:57:17 +0530
committerAnand V. Avati <avati@amp.gluster.com>2009-03-12 16:10:24 +0530
commit31c817836c9c56eca1441b3b6f8b83db41c67f94 (patch)
tree7a01371cb1685845cf20c393ef83127572df0757 /xlators/storage/posix/src/posix.c
parentb1c6a8507d59d16f9691652703be48f4539ca093 (diff)
xlator.c option validation should check for empty valid options list (for strings).
'if (!opt->value)' always fails as 'value' member is an array of size ZR_OPTION_MAX_ARRAY_SIZE and is always non-null. it should have been 'if (opt->value[0] == NULL)' instead. Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
Diffstat (limited to 'xlators/storage/posix/src/posix.c')
0 files changed, 0 insertions, 0 deletions