mirror of
https://github.com/torvalds/linux.git
synced 2026-03-08 03:24:45 +01:00
btrfs: pass bool to indicate subvolume/snapshot creation type
Reviewed-by: Boris Burkov <boris@bur.io> Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
parent
a5f0e0a4df
commit
8320febc64
1 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue