Unverified Commit 46706d0b by Stéphane Graber Committed by GitHub

Merge pull request #2656 from brauner/2018-09-28/fix_btrfs_regression

btrfs: fix btrfs containers
parents 56e28f92 37aa4851
......@@ -366,6 +366,7 @@ int btrfs_snapshot(const char *orig, const char *new)
goto out;
memset(&args, 0, sizeof(args));
args.fd = fd;
retlen = strlcpy(args.name, newname, BTRFS_SUBVOL_NAME_MAX);
if (retlen >= BTRFS_SUBVOL_NAME_MAX)
goto out;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment