Files
kernel_nothing_sm7325/include/uapi/linux
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: stable@vger.kernel.org # 4.14+
Reviewed-by: Filipe Manana <fdmanana@suse.com>
Signed-off-by: Qu Wenruo <wqu@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-02-23 08:24:52 +01:00
..
2020-06-07 13:18:48 +02:00
2019-07-09 12:11:59 -07:00
2019-03-07 18:32:01 -08:00
2019-09-19 14:22:44 +02:00
2019-09-25 17:51:39 -07:00
2019-08-02 14:44:02 +10:00
2019-09-16 10:18:01 -04:00
2019-02-14 11:51:51 -05:00
2018-12-20 19:13:07 +01:00
2019-03-27 13:30:07 -07:00
2019-08-12 19:33:50 -07:00
2023-11-08 11:23:36 +01:00
2019-09-18 10:43:22 -06:00
2019-09-08 15:37:04 +02:00
2019-08-19 13:04:45 -07:00
2018-12-16 12:15:25 -08:00
2018-12-01 12:38:32 +01:00
2023-06-21 15:44:10 +02:00
2019-05-28 21:37:30 -07:00
2019-10-02 20:32:27 -06:00
2019-01-22 10:21:45 +01:00
2019-07-30 20:34:34 +02:00
2019-05-28 21:37:30 -07:00
2019-11-05 15:50:14 +01:00
2023-09-23 10:59:50 +02:00
2019-09-16 16:26:11 +02:00
2019-02-14 11:51:51 -05:00
2019-09-18 20:17:50 +02:00
2019-08-01 21:49:46 +02:00