Commit 8320febc authored by David Sterba's avatar David Sterba
Browse files

btrfs: pass bool to indicate subvolume/snapshot creation type



Reviewed-by: default avatarBoris Burkov <boris@bur.io>
Signed-off-by: default avatarDavid Sterba <dsterba@suse.com>
parent a5f0e0a4
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1182,7 +1182,7 @@ static noinline int btrfs_ioctl_resize(struct file *file,

static noinline int __btrfs_ioctl_snap_create(struct file *file,
				struct mnt_idmap *idmap,
				const char *name, unsigned long fd, int subvol,
				const char *name, unsigned long fd, bool subvol,
				bool readonly,
				struct btrfs_qgroup_inherit *inherit)
{
@@ -1276,7 +1276,7 @@ static noinline int btrfs_ioctl_snap_create(struct file *file,
}

static noinline int btrfs_ioctl_snap_create_v2(struct file *file,
					       void __user *arg, int subvol)
					       void __user *arg, bool subvol)
{
	struct btrfs_ioctl_vol_args_v2 *vol_args;
	int ret;