diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2019-03-09 13:54:24 -0500 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2019-03-09 13:54:24 -0500 |
| commit | d1cae94871330cb9f5fdcea34529abf7917e682e (patch) | |
| tree | 727bdda6b15bc1252c61eff0d77395e8c02d56c1 /fs/ext4/sysfs.c | |
| parent | 99b25a7fc6150d613be8eab71a47e6c0fcc8d7c5 (diff) | |
| parent | 129ca2d2a83f44551e73a408fa5e75a7b5169abb (diff) | |
Merge tag 'fscrypt-for-linus' of git://git.kernel.org/pub/scm/fs/fscrypt/fscrypt
Pull fscrypt updates from Eric Biggers:
"First: Ted, Jaegeuk, and I have decided to add me as a co-maintainer
for fscrypt, and we're now using a shared git tree. So we've updated
MAINTAINERS accordingly, and I'm doing the pull request this time.
The actual changes for v5.1 are:
- Remove the fs-specific kconfig options like CONFIG_EXT4_ENCRYPTION
and make fscrypt support for all fscrypt-capable filesystems be
controlled by CONFIG_FS_ENCRYPTION, similar to how CONFIG_QUOTA
works.
- Improve error code for rename() and link() into encrypted
directories.
- Various cleanups"
* tag 'fscrypt-for-linus' of git://git.kernel.org/pub/scm/fs/fscrypt/fscrypt:
MAINTAINERS: add Eric Biggers as an fscrypt maintainer
fscrypt: return -EXDEV for incompatible rename or link into encrypted dir
fscrypt: remove filesystem specific build config option
f2fs: use IS_ENCRYPTED() to check encryption status
ext4: use IS_ENCRYPTED() to check encryption status
fscrypt: remove CRYPTO_CTR dependency
Diffstat (limited to 'fs/ext4/sysfs.c')
| -rw-r--r-- | fs/ext4/sysfs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/ext4/sysfs.c b/fs/ext4/sysfs.c index 9212a026a1f1..5e4e78fc0b3a 100644 --- a/fs/ext4/sysfs.c +++ b/fs/ext4/sysfs.c | |||
| @@ -224,7 +224,7 @@ static struct attribute *ext4_attrs[] = { | |||
| 224 | EXT4_ATTR_FEATURE(lazy_itable_init); | 224 | EXT4_ATTR_FEATURE(lazy_itable_init); |
| 225 | EXT4_ATTR_FEATURE(batched_discard); | 225 | EXT4_ATTR_FEATURE(batched_discard); |
| 226 | EXT4_ATTR_FEATURE(meta_bg_resize); | 226 | EXT4_ATTR_FEATURE(meta_bg_resize); |
| 227 | #ifdef CONFIG_EXT4_FS_ENCRYPTION | 227 | #ifdef CONFIG_FS_ENCRYPTION |
| 228 | EXT4_ATTR_FEATURE(encryption); | 228 | EXT4_ATTR_FEATURE(encryption); |
| 229 | #endif | 229 | #endif |
| 230 | EXT4_ATTR_FEATURE(metadata_csum_seed); | 230 | EXT4_ATTR_FEATURE(metadata_csum_seed); |
| @@ -233,7 +233,7 @@ static struct attribute *ext4_feat_attrs[] = { | |||
| 233 | ATTR_LIST(lazy_itable_init), | 233 | ATTR_LIST(lazy_itable_init), |
| 234 | ATTR_LIST(batched_discard), | 234 | ATTR_LIST(batched_discard), |
| 235 | ATTR_LIST(meta_bg_resize), | 235 | ATTR_LIST(meta_bg_resize), |
| 236 | #ifdef CONFIG_EXT4_FS_ENCRYPTION | 236 | #ifdef CONFIG_FS_ENCRYPTION |
| 237 | ATTR_LIST(encryption), | 237 | ATTR_LIST(encryption), |
| 238 | #endif | 238 | #endif |
| 239 | ATTR_LIST(metadata_csum_seed), | 239 | ATTR_LIST(metadata_csum_seed), |
