diff options
Diffstat (limited to 'xlators/features/snapview-client/src/snapview-client.c')
| -rw-r--r-- | xlators/features/snapview-client/src/snapview-client.c | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/features/snapview-client/src/snapview-client.c b/xlators/features/snapview-client/src/snapview-client.c index 2f304aa7d3f..95b1b7c5a23 100644 --- a/xlators/features/snapview-client/src/snapview-client.c +++ b/xlators/features/snapview-client/src/snapview-client.c @@ -536,7 +536,7 @@ svc_statfs (call_frame_t *frame, xlator_t *this, loc_t *loc,                           * virtual directory from path                           */                          subvolume = FIRST_CHILD (this); -                        root_loc.path = "/"; +                        root_loc.path = gf_strdup("/");                          gf_uuid_clear(root_loc.gfid);                          root_loc.gfid[15] = 1;                          root_loc.inode = loc->inode->table->root;  | 
