android_kernel_motorola_sm6375/include/uapi
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Qu Wenruo 69a0876252 btrfs: defrag: reject unknown flags of btrfs_ioctl_defrag_range_args
commit 173431b274a9a54fc10b273b46e67f46bcf62d2e upstream.

Add extra sanity check for btrfs_ioctl_defrag_range_args::flags.

This is not really to enhance fuzzing tests, but as a preparation for
future expansion on btrfs_ioctl_defrag_range_args.

In the future we're going to add new members, allowing more fine tuning
for btrfs defrag.  Without the -ENONOTSUPP error, there would be no way
to detect if the kernel supports those new defrag features.

CC: [email protected] # 4.14+
Reviewed-by: Filipe Manana <[email protected]>
Signed-off-by: Qu Wenruo <[email protected]>
Reviewed-by: David Sterba <[email protected]>
Signed-off-by: David Sterba <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
2024-02-23 08:24:52 +01:00
..
asm-generic aio: fix use-after-free due to missing POLLFREE handling 2021-12-14 14:49:02 +01:00
drm
linux btrfs: defrag: reject unknown flags of btrfs_ioctl_defrag_range_args 2024-02-23 08:24:52 +01:00
misc
mtd
rdma
scsi
sound ASoC: Intel: Skylake: Fix declaration of enum skl_ch_cfg 2023-05-30 12:44:10 +01:00
video
xen
Kbuild