Skip to content

Commit b73f3d0

Browse files
Fabian Fredericktorvalds
authored andcommitted
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>
1 parent ffbc067 commit b73f3d0

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

‎fs/hfsplus/extents.c‎

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -436,10 +436,9 @@ int hfsplus_file_extend(struct inode *inode, bool zeroout)
436436
if (sbi->alloc_file->i_size * 8 <
437437
sbi->total_blocks - sbi->free_blocks + 8) {
438438
/* extend alloc file */
439-
pr_err("extend alloc file! "
440-
"(%llu,%u,%u)\n",
441-
sbi->alloc_file->i_size * 8,
442-
sbi->total_blocks, sbi->free_blocks);
439+
pr_err("extend alloc file! (%llu,%u,%u)\n",
440+
sbi->alloc_file->i_size * 8,
441+
sbi->total_blocks, sbi->free_blocks);
443442
return -ENOSPC;
444443
}
445444

‎fs/hfsplus/super.c‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,9 +131,10 @@ static int hfsplus_system_write_inode(struct inode *inode)
131131
hfsplus_inode_write_fork(inode, fork);
132132
if (tree) {
133133
int err = hfs_btree_write(tree);
134+
134135
if (err) {
135136
pr_err("b-tree write err: %d, ino %lu\n",
136-
err, inode->i_ino);
137+
err, inode->i_ino);
137138
return err;
138139
}
139140
}

‎fs/hfsplus/xattr.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ static void hfsplus_init_header_node(struct inode *attr_file,
7070
loff_t tmp;
7171

7272
hfs_dbg(ATTR_MOD, "init_hdr_attr_file: clump %u, node_size %u\n",
73-
clump_size, node_size);
73+
clump_size, node_size);
7474

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

0 commit comments

Comments
 (0)