]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
fscrypt: rename keyinfo.c to keysetup.c
authorEric Biggers <ebiggers@google.com>
Mon, 5 Aug 2019 02:35:45 +0000 (19:35 -0700)
committerEric Biggers <ebiggers@google.com>
Tue, 13 Aug 2019 02:06:06 +0000 (19:06 -0700)
Rename keyinfo.c to keysetup.c since this better describes what the file
does (sets up the key), and it matches the new file keysetup_v1.c.

Reviewed-by: Theodore Ts'o <tytso@mit.edu>
Signed-off-by: Eric Biggers <ebiggers@google.com>
fs/crypto/Makefile
fs/crypto/fscrypt_private.h
fs/crypto/keysetup.c [moved from fs/crypto/keyinfo.c with 100% similarity]
include/linux/fscrypt.h

index 1fba255c34ca5675b73e4b86cb38f4257a012ecf..ad14d4c29784a67aeab7e34e8299a72deda06fef 100644 (file)
@@ -4,7 +4,7 @@ obj-$(CONFIG_FS_ENCRYPTION)     += fscrypto.o
 fscrypto-y := crypto.o \
              fname.o \
              hooks.o \
-             keyinfo.o \
+             keysetup.o \
              keysetup_v1.o \
              policy.o
 
index 387b44b255f6ab41ad3980a831198e3a3431bc36..794dcba25ca826a0ea98443ee2425ad324317ef1 100644 (file)
@@ -156,7 +156,7 @@ extern bool fscrypt_fname_encrypted_size(const struct inode *inode,
                                         u32 orig_len, u32 max_len,
                                         u32 *encrypted_len_ret);
 
-/* keyinfo.c */
+/* keysetup.c */
 
 struct fscrypt_mode {
        const char *friendly_name;
similarity index 100%
rename from fs/crypto/keyinfo.c
rename to fs/crypto/keysetup.c
index 81c0c754f8b21b7e35eead6703e88cffa9d79c71..583802cb2e35d0fffc5f73782b18962b87129362 100644 (file)
@@ -138,7 +138,7 @@ extern int fscrypt_ioctl_get_policy(struct file *, void __user *);
 extern int fscrypt_has_permitted_context(struct inode *, struct inode *);
 extern int fscrypt_inherit_context(struct inode *, struct inode *,
                                        void *, bool);
-/* keyinfo.c */
+/* keysetup.c */
 extern int fscrypt_get_encryption_info(struct inode *);
 extern void fscrypt_put_encryption_info(struct inode *);
 extern void fscrypt_free_inode(struct inode *);
@@ -367,7 +367,7 @@ static inline int fscrypt_inherit_context(struct inode *parent,
        return -EOPNOTSUPP;
 }
 
-/* keyinfo.c */
+/* keysetup.c */
 static inline int fscrypt_get_encryption_info(struct inode *inode)
 {
        return -EOPNOTSUPP;