Skip to content

Commit

Permalink
fs/hfsplus: fix pr_foo() and hfs_dbg formats
Browse files Browse the repository at this point in the history
Signed-off-by: Fabian Frederick <[email protected]>
Suggested-By: Vyacheslav Dubeyko <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
Fabian Frederick authored and torvalds committed Jun 6, 2014
1 parent ffbc067 commit b73f3d0
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
7 changes: 3 additions & 4 deletions fs/hfsplus/extents.c
Original file line number Diff line number Diff line change
Expand Up @@ -436,10 +436,9 @@ 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",
sbi->alloc_file->i_size * 8,
sbi->total_blocks, sbi->free_blocks);
pr_err("extend alloc file! (%llu,%u,%u)\n",
sbi->alloc_file->i_size * 8,
sbi->total_blocks, sbi->free_blocks);
return -ENOSPC;
}

Expand Down
3 changes: 2 additions & 1 deletion fs/hfsplus/super.c
Original file line number Diff line number Diff line change
Expand Up @@ -131,9 +131,10 @@ 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);
err, inode->i_ino);
return err;
}
}
Expand Down
2 changes: 1 addition & 1 deletion fs/hfsplus/xattr.c
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ static void hfsplus_init_header_node(struct inode *attr_file,
loff_t tmp;

hfs_dbg(ATTR_MOD, "init_hdr_attr_file: clump %u, node_size %u\n",
clump_size, node_size);
clump_size, node_size);

/* The end of the node contains list of record offsets */
rec_offsets = (__be16 *)(buf + node_size);
Expand Down

0 comments on commit b73f3d0

Please sign in to comment.