diff options
| author | David Sterba <[email protected]> | 2024-01-10 16:48:44 +0000 |
|---|---|---|
| committer | David Sterba <[email protected]> | 2024-01-31 07:42:30 +0000 |
| commit | f884a9f9e59206a2d41f265e7e403f080d10b493 (patch) | |
| tree | 49ac66472c1209e65fc2d91de7039207d3fab703 /fs/btrfs/dev-replace.c | |
| parent | btrfs: scrub: limit RST scrub to chunk boundary (diff) | |
| download | kernel-f884a9f9e59206a2d41f265e7e403f080d10b493.tar.gz kernel-f884a9f9e59206a2d41f265e7e403f080d10b493.zip | |
btrfs: send: return EOPNOTSUPP on unknown flags
When some ioctl flags are checked we return EOPNOTSUPP, like for
BTRFS_SCRUB_SUPPORTED_FLAGS, BTRFS_SUBVOL_CREATE_ARGS_MASK or fallocate
modes. The EINVAL is supposed to be for a supported but invalid
values or combination of options. Fix that when checking send flags so
it's consistent with the rest.
CC: [email protected] # 4.14+
Link: https://lore.kernel.org/linux-btrfs/CAL3q7H5rryOLzp3EKq8RTbjMHMHeaJubfpsVLF6H4qJnKCUR1w@mail.gmail.com/
Reviewed-by: Filipe Manana <[email protected]>
Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions
