[Bugs] [Bug 1636965] New: key sync-to-mount, string type asked, has pointer type [Invalid argument]

bugzilla at redhat.com bugzilla at redhat.com
Mon Oct 8 11:29:35 UTC 2018


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

            Bug ID: 1636965
           Summary: key sync-to-mount, string type asked, has pointer type
                    [Invalid argument]
           Product: GlusterFS
           Version: mainline
         Component: fuse
          Severity: medium
          Assignee: bugs at gluster.org
          Reporter: ykaul at redhat.com
                CC: bugs at gluster.org



Description of problem:
xlators/mount/fuse/src/fuse-bridge.c:5668:    ret = dict_get_str(options,
"sync-to-mount", &value_string);
glusterfsd/src/glusterfsd.c:566:        ret = dict_set_static_ptr(options,
"sync-to-mount", "enable");

Also in fuse:

[2018-10-08 11:04:14.265916] I [dict.c:2410:dict_get_str]
(-->/build/install/lib/glusterfs/6dev/xlator/mount/fuse.so(init+0x5c0)
[0x7fe60b05fbd9]
-->/build/install/lib/libglusterfs.so.0(xlator_option_init_double+0xf2)
[0x7fe613cf5e01] -->/build/install/lib/libglusterfs.so.0(dict_get_str+0x176)
[0x7fe613c7c2e9] ) 0-dict: key negative-timeout, string type asked, has float
type [Invalid argument]
[2018-10-08 11:04:14.266033] I [dict.c:2410:dict_get_str]
(-->/build/install/lib/libglusterfs.so.0(+0x28b31) [0x7fe613c81b31]
-->/build/install/lib/glusterfs/6dev/xlator/mount/fuse.so(init+0xa0d)
[0x7fe60b060026] -->/build/install/lib/libglusterfs.so.0(dict_get_str+0x176)
[0x7fe613c7c2e9] ) 0-dict: key sync-to-mount, string type asked, has pointer
type [Invalid argument]
[2018-10-08 11:04:14.266141] I [dict.c:2410:dict_get_str]
(-->/build/install/lib/glusterfs/6dev/xlator/mount/fuse.so(init+0xd10)
[0x7fe60b060329]
-->/build/install/lib/libglusterfs.so.0(xlator_option_init_bool+0xf2)
[0x7fe613cf549c] -->/build/install/lib/libglusterfs.so.0(dict_get_str+0x176)
[0x7fe613c7c2e9] ) 0-dict: key no-root-squash, string type asked, has pointer
type [Invalid argument]

Need to sync between the two (and probably end up using a boolean!)

-- 
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