]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: Simplify XFS logging methods.
authorJonathan Lassoff <jof@thejof.com>
Mon, 11 Apr 2022 03:06:28 +0000 (13:06 +1000)
committerDave Chinner <david@fromorbit.com>
Mon, 11 Apr 2022 03:06:28 +0000 (13:06 +1000)
commitca0d4e77710f6376c1a82e74350156e71592c9dd
tree5aa5d2119f9987abcb241d934de8fe7cdf857202
parentc02c8228f39a35a18b7da5bed4327a96bdd1c782
xfs: Simplify XFS logging methods.

Rather than have a constructor to define many nearly-identical
functions, use preprocessor macros to pass down a kernel logging level
to a common function.

Signed-off-by: Jonathan Lassoff <jof@thejof.com>
Reviewed-by: Chris Down <chris@chrisdown.name>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
fs/xfs/xfs_message.c
fs/xfs/xfs_message.h