summaryrefslogtreecommitdiffstats
path: root/glusterfsd/src
diff options
context:
space:
mode:
authorHarshavardhana <harsha@harshavardhana.net>2013-09-09 03:08:08 -0700
committerAnand Avati <avati@redhat.com>2013-09-09 21:41:41 -0700
commit1f7469164a8d8fb0e031078073465b59c4334752 (patch)
treed9f2786d49f868e8dc8111da2b4ee00752d8453a /glusterfsd/src
parentebcf1c8ddb76ca1234282e5189f6800d89db4b98 (diff)
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>
Diffstat (limited to 'glusterfsd/src')
-rw-r--r--glusterfsd/src/glusterfsd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/glusterfsd/src/glusterfsd.c b/glusterfsd/src/glusterfsd.c
index e8ebdae1498..908345d266d 100644
--- a/glusterfsd/src/glusterfsd.c
+++ b/glusterfsd/src/glusterfsd.c
@@ -1020,7 +1020,7 @@ parse_opts (int key, char *arg, struct argp_state *state)
case ARGP_FUSE_USE_READDIRP_KEY:
if (!arg)
- arg = "no";
+ arg = "yes";
if (gf_string2boolean (arg, &b) == 0) {
if (b) {