]> git.ipfire.org Git - people/ms/linux.git/commit - fs/crypto/fscrypt_private.h
fscrypt: use a common logging function
authorEric Biggers <ebiggers@google.com>
Mon, 30 Apr 2018 22:51:47 +0000 (15:51 -0700)
committerTheodore Ts'o <tytso@mit.edu>
Sun, 20 May 2018 20:21:05 +0000 (16:21 -0400)
commit544d08fde258b4da72b6cfbe2d7172c86ce9860d
tree56d013a89974bd62e3ca974e090f495808edc64a
parent11b8818ec09d577567f59fc1b32cfa56c756fe89
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