Commit b73f3d0e authored by Fabian Frederick's avatar Fabian Frederick Committed by Linus Torvalds

fs/hfsplus: fix pr_foo() and hfs_dbg formats

Signed-off-by: default avatarFabian Frederick <fabf@skynet.be>
Suggested-By: default avatarVyacheslav Dubeyko <slava@dubeyko.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent ffbc0671
...@@ -436,8 +436,7 @@ int hfsplus_file_extend(struct inode *inode, bool zeroout) ...@@ -436,8 +436,7 @@ int hfsplus_file_extend(struct inode *inode, bool zeroout)
if (sbi->alloc_file->i_size * 8 < if (sbi->alloc_file->i_size * 8 <
sbi->total_blocks - sbi->free_blocks + 8) { sbi->total_blocks - sbi->free_blocks + 8) {
/* extend alloc file */ /* extend alloc file */
pr_err("extend alloc file! " pr_err("extend alloc file! (%llu,%u,%u)\n",
"(%llu,%u,%u)\n",
sbi->alloc_file->i_size * 8, sbi->alloc_file->i_size * 8,
sbi->total_blocks, sbi->free_blocks); sbi->total_blocks, sbi->free_blocks);
return -ENOSPC; return -ENOSPC;
......
...@@ -131,6 +131,7 @@ static int hfsplus_system_write_inode(struct inode *inode) ...@@ -131,6 +131,7 @@ static int hfsplus_system_write_inode(struct inode *inode)
hfsplus_inode_write_fork(inode, fork); hfsplus_inode_write_fork(inode, fork);
if (tree) { if (tree) {
int err = hfs_btree_write(tree); int err = hfs_btree_write(tree);
if (err) { if (err) {
pr_err("b-tree write err: %d, ino %lu\n", pr_err("b-tree write err: %d, ino %lu\n",
err, inode->i_ino); err, inode->i_ino);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment