Summary: glusterfs-fuse - accepts only absolute path to
Submitted by: avati
Submitted on: Saturday 08/05/2006 at 10:39
Severity: 4 - Important
Priority: 5 - Normal
Item Group: Redesign
Assigned to: vikasgp
Operating System: GNU/Linux
there needs a slight shift in code in glusterfs-fuse.
volume spec parsing/tree creation happens inside init() of fuse's callback,
and by then fuse would have chdir()'d to /.
the work happening in init() of fuse is just tree creation. This should be
moved to main() (before calling fuse_main) and the tree should be kept in a
global variable which should be used in init() callback as it is getting used