]> git.karo-electronics.de Git - karo-tx-linux.git/commit
nilfs2: use nilfs_warning() in allocator implementation
authorRyusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
Wed, 21 Oct 2015 22:03:54 +0000 (09:03 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 21 Oct 2015 22:03:54 +0000 (09:03 +1100)
commit7edfe28af0a782118f20689a0fc33c97b1c60f11
treea16fc15ff23bc2cc15734d5c815e72e0d2b1a1a2
parent4aaffcdde88c9f1af5de93097dda012a687a13e0
nilfs2: use nilfs_warning() in allocator implementation

This uses nilfs_warning() to replace "printk(KERN_WARNING ...);" in the
bitmap based allocator implementation of nilfs2.  The warning messages are
modified to include the device name and the inode number in each message.
This makes it clear which metadata file of which device has output
warnings such as "entry number xxxx already freed".

Signed-off-by: Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
fs/nilfs2/alloc.c