remarkable-linux/fs/nilfs2
Ryusuke Konishi a66dfb0a91 nilfs2: add nilfs_msg() message interface
Define an own output routine to replace bare use of printk() function.
The output routine is implemented with a macro and a helper function,
which are named nilfs_msg() and __nilfs_msg(), respectively.

__nilfs_msg() formats a message like "NILFS (<device-name>): <message>",
prefixing it with a given log level, and terminates the statement with a
newline.  The "device-name" is optional to make it available in early
stages; it will be omitted if a NULL pointer is passed to super block
instance argument.  nilfs_msg() wraps __nilfs_msg() and is removed if
CONFIG_PRINTK is not set.

Link: http://lkml.kernel.org/r/1464875891-5443-3-git-send-email-konishi.ryusuke@lab.ntt.co.jp
Signed-off-by: Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2016-08-02 19:35:16 -04:00
..
alloc.c nilfs2: fix block comments 2016-05-23 17:04:14 -07:00
alloc.h nilfs2: avoid bare use of 'unsigned' 2016-05-23 17:04:14 -07:00
bmap.c nilfs2: hide function name argument from nilfs_error() 2016-08-02 19:35:16 -04:00
bmap.h nilfs2: fix block comments 2016-05-23 17:04:14 -07:00
btnode.c fs: have submit_bh users pass in op and flags separately 2016-06-07 13:41:38 -06:00
btnode.h fs: have submit_bh users pass in op and flags separately 2016-06-07 13:41:38 -06:00
btree.c fs: have submit_bh users pass in op and flags separately 2016-06-07 13:41:38 -06:00
btree.h nilfs2: clean up old e-mail addresses 2016-05-23 17:04:14 -07:00
cpfile.c nilfs2: fix block comments 2016-05-23 17:04:14 -07:00
cpfile.h nilfs2: avoid bare use of 'unsigned' 2016-05-23 17:04:14 -07:00
dat.c nilfs2: avoid bare use of 'unsigned' 2016-05-23 17:04:14 -07:00
dat.h nilfs2: avoid bare use of 'unsigned' 2016-05-23 17:04:14 -07:00
dir.c nilfs2: hide function name argument from nilfs_error() 2016-08-02 19:35:16 -04:00
direct.c nilfs2: remove unnecessary else after return or break 2016-05-23 17:04:14 -07:00
direct.h nilfs2: clean up old e-mail addresses 2016-05-23 17:04:14 -07:00
export.h nilfs2: replace __attribute__((packed)) with __packed 2016-05-23 17:04:14 -07:00
file.c nilfs2: clean up old e-mail addresses 2016-05-23 17:04:14 -07:00
gcinode.c fs: have submit_bh users pass in op and flags separately 2016-06-07 13:41:38 -06:00
ifile.c nilfs2: hide function name argument from nilfs_error() 2016-08-02 19:35:16 -04:00
ifile.h nilfs2: add missing line spacing 2016-05-23 17:04:14 -07:00
inode.c nilfs2: fix block comments 2016-05-23 17:04:14 -07:00
ioctl.c nilfs2: get rid of nilfs_mdt_mark_block_dirty() 2016-05-23 17:04:14 -07:00
Kconfig fs/nilfs2: remove depends on CONFIG_EXPERIMENTAL 2013-01-11 11:39:04 -08:00
Makefile nilfs2: integrate sysfs support into driver 2014-08-08 15:57:21 -07:00
mdt.c fs: have submit_bh users pass in op and flags separately 2016-06-07 13:41:38 -06:00
mdt.h nilfs2: avoid bare use of 'unsigned' 2016-05-23 17:04:14 -07:00
namei.c nilfs2: avoid bare use of 'unsigned' 2016-05-23 17:04:14 -07:00
nilfs.h nilfs2: add nilfs_msg() message interface 2016-08-02 19:35:16 -04:00
page.c nilfs2: avoid bare use of 'unsigned' 2016-05-23 17:04:14 -07:00
page.h nilfs2: avoid bare use of 'unsigned' 2016-05-23 17:04:14 -07:00
recovery.c nilfs2: fix block comments 2016-05-23 17:04:14 -07:00
segbuf.c nilfs: use bio op accessors 2016-06-07 13:41:38 -06:00
segbuf.h nilfs2: avoid bare use of 'unsigned' 2016-05-23 17:04:14 -07:00
segment.c nilfs2: fix block comments 2016-05-23 17:04:14 -07:00
segment.h nilfs2: fix block comments 2016-05-23 17:04:14 -07:00
sufile.c nilfs2: add missing line spacing 2016-05-23 17:04:14 -07:00
sufile.h nilfs2: clean up old e-mail addresses 2016-05-23 17:04:14 -07:00
super.c nilfs2: add nilfs_msg() message interface 2016-08-02 19:35:16 -04:00
sysfs.c nilfs2: avoid bare use of 'unsigned' 2016-05-23 17:04:14 -07:00
sysfs.h nilfs2: clean trailing semicolons in macros 2016-05-23 17:04:14 -07:00
the_nilfs.c fs/nilfs2: fix potential underflow in call to crc32_le 2016-06-24 17:23:52 -07:00
the_nilfs.h nilfs2: remove loops of single statement macros 2016-05-23 17:04:14 -07:00