diff options
Diffstat (limited to 'xlators/features/snapview-server/src/snapview-server-helpers.c')
-rw-r--r-- | xlators/features/snapview-server/src/snapview-server-helpers.c | 5 |
1 files changed, 3 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 6f305dbc2fb..e7025b70cc6 100644 --- a/xlators/features/snapview-server/src/snapview-server-helpers.c +++ b/xlators/features/snapview-server/src/snapview-server-helpers.c @@ -461,8 +461,9 @@ __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); |