OSDN Git Service

f2fs: introduce f2fs_<level> macros to wrap f2fs_printk()
authorJoe Perches <joe@perches.com>
Tue, 18 Jun 2019 09:48:42 +0000 (17:48 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Fri, 12 Jul 2019 23:47:37 +0000 (16:47 -0700)
commita0d6863d969122ba682babc5b09ba0bfbb25525a
tree4fc1421f4c2a33783dc89ce008858e558588517b
parentac20f12dd9151ea3a7b323e379b96a7c59b887f5
f2fs: introduce f2fs_<level> macros to wrap f2fs_printk()

- Add and use f2fs_<level> macros
- Convert f2fs_msg to f2fs_printk
- Remove level from f2fs_printk and embed the level in the format
- Coalesce formats and align multi-line arguments
- Remove unnecessary duplicate extern f2fs_msg f2fs.h

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Chao Yu <yuchao0@huawei.com>
Reviewed-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
14 files changed:
fs/f2fs/checkpoint.c
fs/f2fs/dir.c
fs/f2fs/extent_cache.c
fs/f2fs/f2fs.h
fs/f2fs/file.c
fs/f2fs/gc.c
fs/f2fs/inline.c
fs/f2fs/inode.c
fs/f2fs/namei.c
fs/f2fs/node.c
fs/f2fs/recovery.c
fs/f2fs/segment.c
fs/f2fs/segment.h
fs/f2fs/super.c