diff options
author | Ritesh Harjani <ritesh.list@gmail.com> | 2022-05-15 09:37:46 +0300 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2022-05-22 05:24:24 +0300 |
commit | b1241c8eb977826cf9b1588514ab8896aa23896b (patch) | |
tree | ca6528dc84c59eead71d5b3a282cc1d1ed1529ac /fs/ext4/ext4.h | |
parent | c069db76ed7b681c69159f44be96d2137e9ca989 (diff) | |
download | linux-b1241c8eb977826cf9b1588514ab8896aa23896b.tar.xz |
ext4: move ext4 crypto code to its own file crypto.c
This is to cleanup super.c file which has grown quite large.
So, start moving ext4 crypto related code to where it should
be in the first place i.e. fs/ext4/crypto.c
Reviewed-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Ritesh Harjani <ritesh.list@gmail.com>
Link: https://lore.kernel.org/r/7d637e093cbc34d727397e8d41a53a1b9ca7d7a4.1652595565.git.ritesh.list@gmail.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'fs/ext4/ext4.h')
-rw-r--r-- | fs/ext4/ext4.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/ext4/ext4.h b/fs/ext4/ext4.h index 797bc572d6fb..6928e281c2cb 100644 --- a/fs/ext4/ext4.h +++ b/fs/ext4/ext4.h @@ -2733,7 +2733,10 @@ extern int ext4_fname_setup_ci_filename(struct inode *dir, struct ext4_filename *fname); #endif +/* ext4 encryption related stuff goes here crypto.c */ #ifdef CONFIG_FS_ENCRYPTION +extern const struct fscrypt_operations ext4_cryptops; + static inline void ext4_fname_from_fscrypt_name(struct ext4_filename *dst, const struct fscrypt_name *src) { |