From: David Sterba Date: Thu, 26 Jun 2025 14:30:11 +0000 (+0200) Subject: btrfs: pass bool to indicate subvolume/snapshot creation type X-Git-Tag: block-6.17-20250808~77^2~55 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=8320febc6449f5bade61c8163fd472071e3752da;p=linux-block.git btrfs: pass bool to indicate subvolume/snapshot creation type Reviewed-by: Boris Burkov Signed-off-by: David Sterba --- diff --git a/fs/btrfs/ioctl.c b/fs/btrfs/ioctl.c index c0fa1b3584df..4be09b4152f6 100644 --- a/fs/btrfs/ioctl.c +++ b/fs/btrfs/ioctl.c @@ -1182,7 +1182,7 @@ out_drop: 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 @@ out: } 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;