diff options
author | Fabian Frederick <fabf@skynet.be> | 2014-06-06 14:37:25 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-06-06 16:08:13 -0700 |
commit | 9606d9aa858aeb70f3b6062bab82eb1e5a91a923 (patch) | |
tree | c43260ed9796dbf4f5882e05e3c36cb2521f62c7 /fs/affs/bitmap.c | |
parent | 0158de12b00e7f0e7821c706e91477b6079eb9e9 (diff) | |
download | op-kernel-dev-9606d9aa858aeb70f3b6062bab82eb1e5a91a923.zip op-kernel-dev-9606d9aa858aeb70f3b6062bab82eb1e5a91a923.tar.gz |
fs/affs: pr_debug cleanup
- Remove AFFS: prefix (defined in pr_fmt)
- Use __func__
- Separate format/arguments on lines > 80 characters.
Signed-off-by: Fabian Frederick <fabf@skynet.be>
Cc: Joe Perches <joe@perches.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/affs/bitmap.c')
-rw-r--r-- | fs/affs/bitmap.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/fs/affs/bitmap.c b/fs/affs/bitmap.c index d9559f5..c8de511 100644 --- a/fs/affs/bitmap.c +++ b/fs/affs/bitmap.c @@ -17,7 +17,7 @@ affs_count_free_blocks(struct super_block *sb) u32 free; int i; - pr_debug("AFFS: count_free_blocks()\n"); + pr_debug("%s()\n", __func__); if (sb->s_flags & MS_RDONLY) return 0; @@ -43,7 +43,7 @@ affs_free_block(struct super_block *sb, u32 block) u32 blk, bmap, bit, mask, tmp; __be32 *data; - pr_debug("AFFS: free_block(%u)\n", block); + pr_debug("%s(%u)\n", __func__, block); if (block > sbi->s_partition_size) goto err_range; @@ -125,7 +125,7 @@ affs_alloc_block(struct inode *inode, u32 goal) sb = inode->i_sb; sbi = AFFS_SB(sb); - pr_debug("AFFS: balloc(inode=%lu,goal=%u): ", inode->i_ino, goal); + pr_debug("balloc(inode=%lu,goal=%u): ", inode->i_ino, goal); if (AFFS_I(inode)->i_pa_cnt) { pr_debug("%d\n", AFFS_I(inode)->i_lastalloc+1); @@ -291,7 +291,7 @@ int affs_init_bitmap(struct super_block *sb, int *flags) *flags |= MS_RDONLY; goto out; } - pr_debug("AFFS: read bitmap block %d: %d\n", blk, bm->bm_key); + pr_debug("read bitmap block %d: %d\n", blk, bm->bm_key); bm->bm_free = memweight(bh->b_data + 4, sb->s_blocksize - 4); /* Don't try read the extension if this is the last block, |