Searched refs:vol_args2 (Results 1 – 1 of 1) sorted by relevance
2932 struct btrfs_ioctl_vol_args_v2 *vol_args2 = NULL; in btrfs_ioctl_snap_destroy() local2940 vol_args2 = memdup_user(arg, sizeof(*vol_args2)); in btrfs_ioctl_snap_destroy()2941 if (IS_ERR(vol_args2)) in btrfs_ioctl_snap_destroy()2942 return PTR_ERR(vol_args2); in btrfs_ioctl_snap_destroy()2944 if (vol_args2->flags & ~BTRFS_SUBVOL_DELETE_ARGS_MASK) { in btrfs_ioctl_snap_destroy()2953 if (!(vol_args2->flags & BTRFS_SUBVOL_SPEC_BY_ID)) { in btrfs_ioctl_snap_destroy()2954 vol_args2->name[BTRFS_SUBVOL_NAME_MAX] = 0; in btrfs_ioctl_snap_destroy()2955 subvol_name = vol_args2->name; in btrfs_ioctl_snap_destroy()2963 if (vol_args2->subvolid < BTRFS_FIRST_FREE_OBJECTID) { in btrfs_ioctl_snap_destroy()2974 vol_args2->subvolid, 0, 0); in btrfs_ioctl_snap_destroy()[all …]