]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
fs/hfsplus: fix pr_foo() and hfs_dbg formats
authorFabian Frederick <fabf@skynet.be>
Fri, 6 Jun 2014 21:36:31 +0000 (14:36 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 6 Jun 2014 23:08:10 +0000 (16:08 -0700)
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>
fs/hfsplus/extents.c
fs/hfsplus/super.c
fs/hfsplus/xattr.c

index a09fcb68c36472cf9877c4a16dedc5f39ba87f0b..feca524ce2a5c7d6034bf0a528679fe923381507 100644 (file)
@@ -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;
        }
 
index a513d2d36be956c0a82314d786941ceb0b9f8990..4cf2024b87da3096ec557d71c5c0174d27753156 100644 (file)
@@ -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;
                }
        }
index aab093c27c593af02aa389166e52ca48e72e89db..744e2618046a1e3dc536484a35caaf20501b95a3 100644 (file)
@@ -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);