OSDN Git Service

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 19:21:30 +0000 (12:21 -0700)
commit52359cf4fd6dd5208b6b9613df5140dfd9a329c7
tree0c5819a3e5336890e33b312a4988b45839084761
parentff8e7c745e2bb71c549a0813dc8fbd8a1daf970f
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