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>
Sat, 13 Jul 2019 01:34:57 +0000 (18:34 -0700)
commit12e065d8d6a9592959edd27d445529cbed413777
treef20d8d40309217a0c9dc091694c3afe90ec49345
parenta5e3f6487a592fd1cdb66868dc55d612898e9214
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