Searched refs:vol_args2 (Results 1 – 1 of 1) sorted by relevance
3228 struct btrfs_ioctl_vol_args_v2 *vol_args2 = NULL; in btrfs_ioctl_snap_destroy() local3243 vol_args2 = memdup_user(arg, sizeof(*vol_args2)); in btrfs_ioctl_snap_destroy()3244 if (IS_ERR(vol_args2)) in btrfs_ioctl_snap_destroy()3245 return PTR_ERR(vol_args2); in btrfs_ioctl_snap_destroy()3247 if (vol_args2->flags & ~BTRFS_SUBVOL_DELETE_ARGS_MASK) { in btrfs_ioctl_snap_destroy()3256 if (!(vol_args2->flags & BTRFS_SUBVOL_SPEC_BY_ID)) { in btrfs_ioctl_snap_destroy()3257 vol_args2->name[BTRFS_SUBVOL_NAME_MAX] = 0; in btrfs_ioctl_snap_destroy()3258 subvol_name = vol_args2->name; in btrfs_ioctl_snap_destroy()3266 if (vol_args2->subvolid < BTRFS_FIRST_FREE_OBJECTID) { in btrfs_ioctl_snap_destroy()3277 vol_args2->subvolid, 0, 0); in btrfs_ioctl_snap_destroy()[all …]