From 1f7469164a8d8fb0e031078073465b59c4334752 Mon Sep 17 00:00:00 2001 From: Harshavardhana Date: Mon, 9 Sep 2013 03:08:08 -0700 Subject: 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 Reviewed-on: http://review.gluster.org/5851 Tested-by: Gluster Build System Reviewed-by: Anand Avati --- glusterfsd/src/glusterfsd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'glusterfsd/src/glusterfsd.c') diff --git a/glusterfsd/src/glusterfsd.c b/glusterfsd/src/glusterfsd.c index e8ebdae14..908345d26 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) { -- cgit