Commit 49dfe33b by Serge Hallyn Committed by Stéphane Graber

fix typo in btrfs error msg

parent f5eaf8d1
......@@ -1536,7 +1536,7 @@ static int btrfs_destroy(struct bdev *orig)
strncpy(args.name, p+1, BTRFS_SUBVOL_NAME_MAX);
args.name[BTRFS_SUBVOL_NAME_MAX-1] = 0;
ret = ioctl(fd, BTRFS_IOC_SNAP_DESTROY, &args);
INFO("btrfs: snapshot create ioctl returned %d", ret);
INFO("btrfs: snapshot destroy ioctl returned %d", ret);
if (ret < 0 && errno == EPERM)
INFO("Is the rootfs mounted with -o user_subvol_rm_allowed?");
......
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