[Bugs] [Bug 1222148] New: usage text is wrong for use-readdirp mount default

bugzilla at redhat.com bugzilla at redhat.com
Fri May 15 21:40:50 UTC 2015


https://bugzilla.redhat.com/show_bug.cgi?id=1222148

            Bug ID: 1222148
           Summary: usage text is wrong for use-readdirp mount default
           Product: GlusterFS
           Version: 3.6.3
         Component: fuse
          Assignee: bugs at gluster.org
          Reporter: joe at julianfamily.org
                CC: bugs at gluster.org, gluster-bugs at redhat.com



glusterfsd/src/glusterfsd.c:215
        {"use-readdirp", ARGP_FUSE_USE_READDIRP_KEY, "BOOL",
OPTION_ARG_OPTIONAL,
         "Use readdirp mode in fuse kernel module"
         " [default: \"off\"]"},


glusterfsd/src/glusterfsd.c:1077
        case ARGP_FUSE_USE_READDIRP_KEY:
                if (!arg)
                        arg = "yes";


The default should be yes anyway, so just need to fix the text in line 217

Even better would be to have these kind of options and their help text come
from each translator's volume_options struct so changes don't come from
multiple places. Perhaps that struct should be in include files?

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the Bugs mailing list