hfsplus: make error message in hfsplus_system_write_inode() more compact and detailed
Subsystems (2)
Vyacheslav Dubeyko
maintainerPATCH 1/1 hfsplus: make error message in hfsplus_system_write_inode() more compact and detailed
From: Vyacheslav Dubeyko <[email protected]>
Subject: [PATCH] hfsplus: make error message in hfsplus_system_write_inode() more compact and detailed
The patch simply joins printk and dprint in one printk error message in the case of b-tree write error in hfsplus_system_write_inode() method.
Acked-by Hin-Tak Leung <[email protected]>
Signed-off-by Vyacheslav Dubeyko <[email protected]>
--- fs/hfsplus/super.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-)
fs/hfsplus/super.c +2 -4
@@ -130,10 +130,8 @@ static int hfsplus_system_write_inode(struct inode *inode)if (tree) {int err =hfs_btree_write (tree);if (err) { -printk (KERN_ERR "hfs: unable to write b-tree: %d\n" , - err); -dprint (DBG_INODE ,"hfsplus_system_write_inode: %lu\n" , - inode->i_ino); +printk (KERN_ERR "hfs: b-tree write err: %d, ino %lu\n" , + err, inode->i_ino);return err; } }
--