mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-07 15:18:15 +00:00
fs/hfsplus: fix pr_foo() and hfs_dbg formats
Signed-off-by: Fabian Frederick <fabf@skynet.be> Suggested-By: Vyacheslav Dubeyko <slava@dubeyko.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
ffbc067161
commit
b73f3d0e70
3 changed files with 6 additions and 6 deletions
|
@ -436,8 +436,7 @@ int hfsplus_file_extend(struct inode *inode, bool zeroout)
|
|||
if (sbi->alloc_file->i_size * 8 <
|
||||
sbi->total_blocks - sbi->free_blocks + 8) {
|
||||
/* extend alloc file */
|
||||
pr_err("extend alloc file! "
|
||||
"(%llu,%u,%u)\n",
|
||||
pr_err("extend alloc file! (%llu,%u,%u)\n",
|
||||
sbi->alloc_file->i_size * 8,
|
||||
sbi->total_blocks, sbi->free_blocks);
|
||||
return -ENOSPC;
|
||||
|
|
|
@ -131,6 +131,7 @@ static int hfsplus_system_write_inode(struct inode *inode)
|
|||
hfsplus_inode_write_fork(inode, fork);
|
||||
if (tree) {
|
||||
int err = hfs_btree_write(tree);
|
||||
|
||||
if (err) {
|
||||
pr_err("b-tree write err: %d, ino %lu\n",
|
||||
err, inode->i_ino);
|
||||
|
|
Loading…
Add table
Reference in a new issue