aboutsummaryrefslogtreecommitdiffstats
path: root/MAINTAINERS
diff options
context:
space:
mode:
authorChao Yu <yuchao0@huawei.com>2019-08-04 17:56:43 +0800
committerEric Biggers <ebiggers@google.com>2019-08-31 10:00:29 -0500
commit0642ea2409f3bfa105570e12854b8e2628db6835 (patch)
treeb3dfaed17f4b630fa39ec54c47c8f010dcfef73f /MAINTAINERS
parentfscrypt: document the new ioctls and policy version (diff)
downloadlinux-dev-0642ea2409f3bfa105570e12854b8e2628db6835.tar.xz
linux-dev-0642ea2409f3bfa105570e12854b8e2628db6835.zip
ext4 crypto: fix to check feature status before get policy
When getting fscrypt policy via EXT4_IOC_GET_ENCRYPTION_POLICY, if encryption feature is off, it's better to return EOPNOTSUPP instead of ENODATA, so let's add ext4_has_feature_encrypt() to do the check for that. This makes it so that all fscrypt ioctls consistently check for the encryption feature, and makes ext4 consistent with f2fs in this regard. Signed-off-by: Chao Yu <yuchao0@huawei.com> [EB - removed unneeded braces, updated the documentation, and added more explanation to commit message] Signed-off-by: Eric Biggers <ebiggers@google.com>
Diffstat (limited to 'MAINTAINERS')
0 files changed, 0 insertions, 0 deletions