glusterfsd: use-readdirp w/o arguments should not turn off readdirp
authorHarshavardhana <harsha@harshavardhana.net>
Mon, 9 Sep 2013 10:08:08 +0000 (03:08 -0700)
committerAnand Avati <avati@redhat.com>
Tue, 10 Sep 2013 04:41:41 +0000 (21:41 -0700)
commit1f7469164a8d8fb0e031078073465b59c4334752
treed9f2786d49f868e8dc8111da2b4ee00752d8453a
parentebcf1c8ddb76ca1234282e5189f6800d89db4b98
glusterfsd: use-readdirp w/o arguments should not turn off readdirp

`use-readdirp` has an optional argument in argp -
specifying just `--use-readdirp` command line should not
'turn off' readdirp, since that undermines the meaning
of such an argument.

Change-Id: I965d87e29bd0d61997d9be96fa698e270a2ee173
BUG: 983477
Signed-off-by: Harshavardhana <harsha@harshavardhana.net>
Reviewed-on: http://review.gluster.org/5851
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Anand Avati <avati@redhat.com>
glusterfsd/src/glusterfsd.c
tests/bugs/bug-983477.t