fscrypt: use a common logging function
Use a common function for fscrypt warning and error messages so that all the messages are consistently ratelimited, include the "fscrypt:" prefix, and include the filesystem name if applicable. Also fix up a few of the log messages to be more descriptive. Signed-off-by:Eric Biggers <ebiggers@google.com> Signed-off-by:
Theodore Ts'o <tytso@mit.edu>
Showing
- fs/crypto/crypto.c 25 additions, 3 deletionsfs/crypto/crypto.c
- fs/crypto/fname.c 6 additions, 4 deletionsfs/crypto/fname.c
- fs/crypto/fscrypt_private.h 8 additions, 0 deletionsfs/crypto/fscrypt_private.h
- fs/crypto/hooks.c 3 additions, 2 deletionsfs/crypto/hooks.c
- fs/crypto/keyinfo.c 15 additions, 12 deletionsfs/crypto/keyinfo.c
Loading
Please register or sign in to comment