* [PATCH] hfsplus: make error message in hfsplus_system_write_inode() more compact and detailed
@ 2012-12-04 9:39 Vyacheslav Dubeyko
0 siblings, 0 replies; only message in thread
From: Vyacheslav Dubeyko @ 2012-12-04 9:39 UTC (permalink / raw)
To: linux-fsdevel, Andrew Morton, Christoph Hellwig, Al Viro; +Cc: Hin-Tak Leung
From: Vyacheslav Dubeyko <slava@dubeyko.com>
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 <htl10@users.sourceforge.net>
Signed-off-by: Vyacheslav Dubeyko <slava@dubeyko.com>
---
fs/hfsplus/super.c | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/fs/hfsplus/super.c b/fs/hfsplus/super.c
index 09f12ee..2036f58 100644
--- a/fs/hfsplus/super.c
+++ b/fs/hfsplus/super.c
@@ -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;
}
}
--
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2012-12-04 9:39 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-04 9:39 [PATCH] hfsplus: make error message in hfsplus_system_write_inode() more compact and detailed Vyacheslav Dubeyko
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).