diff options
Diffstat (limited to 'xlators/features/snapview-server')
-rw-r--r-- | xlators/features/snapview-server/src/snapview-server-helpers.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xlators/features/snapview-server/src/snapview-server-helpers.c b/xlators/features/snapview-server/src/snapview-server-helpers.c index 3f8a76946fb..2559c4e089b 100644 --- a/xlators/features/snapview-server/src/snapview-server-helpers.c +++ b/xlators/features/snapview-server/src/snapview-server-helpers.c @@ -497,8 +497,8 @@ __svs_initialise_snapshot_volume(xlator_t *this, const char *name, goto out; } - snprintf(volname, sizeof(volname), "/snaps/%s/%s", dirent->name, - dirent->snap_volname); + snprintf(volname, sizeof(volname), "/snaps/%s/%s/%s", dirent->name, + dirent->snap_volname, dirent->snap_volname); fs = glfs_new(volname); if (!fs) { |