diff options
author | Harshavardhana <harsha@harshavardhana.net> | 2013-09-09 03:08:08 -0700 |
---|---|---|
committer | Anand Avati <avati@redhat.com> | 2013-09-09 21:41:41 -0700 |
commit | 1f7469164a8d8fb0e031078073465b59c4334752 (patch) | |
tree | d9f2786d49f868e8dc8111da2b4ee00752d8453a /glusterfsd | |
parent | ebcf1c8ddb76ca1234282e5189f6800d89db4b98 (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')
-rw-r--r-- | glusterfsd/src/glusterfsd.c | 2 |
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) { |