summaryrefslogtreecommitdiffstats
path: root/fs/netfs
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2024-01-10 17:48:44 +0100
committerDavid Sterba <dsterba@suse.com>2024-01-31 08:42:30 +0100
commitf884a9f9e59206a2d41f265e7e403f080d10b493 (patch)
tree49ac66472c1209e65fc2d91de7039207d3fab703 /fs/netfs
parent7f2d219e78e95a137a9c76fddac7ff8228260439 (diff)
downloadlinux-stable-f884a9f9e59206a2d41f265e7e403f080d10b493.tar.gz
linux-stable-f884a9f9e59206a2d41f265e7e403f080d10b493.tar.bz2
linux-stable-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: stable@vger.kernel.org # 4.14+ Link: https://lore.kernel.org/linux-btrfs/CAL3q7H5rryOLzp3EKq8RTbjMHMHeaJubfpsVLF6H4qJnKCUR1w@mail.gmail.com/ Reviewed-by: Filipe Manana <fdmanana@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/netfs')
0 files changed, 0 insertions, 0 deletions