fscrypt: make fscrypt_msg() take inode instead of super_block
authorEric Biggers <ebiggers@google.com>
Wed, 24 Jul 2019 18:07:58 +0000 (11:07 -0700)
committerEric Biggers <ebiggers@google.com>
Tue, 13 Aug 2019 02:04:44 +0000 (19:04 -0700)
commit886da8b39cf27995836062bb7fe5fd5cb764540a
treee6c29f00bbad95d27698e199951a8e0d8d2a7245
parent1c5100a2aab4143f36ca671c28189a8734d5381a
fscrypt: make fscrypt_msg() take inode instead of super_block

Most of the warning and error messages in fs/crypto/ are for situations
related to a specific inode, not merely to a super_block.  So to make
things easier, make fscrypt_msg() take an inode rather than a
super_block, and make it print the inode number.

Note: This is the same approach I'm taking for fsverity_msg().

Signed-off-by: Eric Biggers <ebiggers@google.com>
fs/crypto/crypto.c
fs/crypto/fname.c
fs/crypto/fscrypt_private.h
fs/crypto/hooks.c
fs/crypto/keyinfo.c