fscrypt: use a common logging function
authorEric Biggers <ebiggers@google.com>
Mon, 30 Apr 2018 22:51:47 +0000 (15:51 -0700)
committerJaegeuk Kim <jaegeuk@kernel.org>
Thu, 28 Jun 2018 16:37:40 +0000 (09:37 -0700)
commit04566cd68241737af8ea897c36c361f59730c88a
tree606fca86b1b97922503a881a8c5b28bc3af66897
parent2a95469530f38c7753f10255169528f86319dcc7
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>
fs/crypto/crypto.c
fs/crypto/fname.c
fs/crypto/fscrypt_private.h
fs/crypto/hooks.c
fs/crypto/keyinfo.c