aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ext4/balloc.c
diff options
context:
space:
mode:
authorEric Sandeen <sandeen@redhat.com>2008-01-28 23:58:27 -0500
committerTheodore Ts'o <tytso@mit.edu>2008-01-28 23:58:27 -0500
commitc549a95d40efd83fc054785dd1634e8b71fba890 (patch)
tree3d4623829ceb02b34f1e8a110eb2b8d741db8b14 /fs/ext4/balloc.c
parentaa22df2cc84011808ad7227437ac8f0e01030480 (diff)
ext4: fix up EXT4FS_DEBUG builds
Builds with EXT4FS_DEBUG defined (to enable ext4_debug()) fail without these changes. Clean up some format warnings too. Signed-off-by: Eric Sandeen <sandeen@redhat.com> Signed-off-by: Mingming Cao <cmm@us.ibm.com>
Diffstat (limited to 'fs/ext4/balloc.c')
-rw-r--r--fs/ext4/balloc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/ext4/balloc.c b/fs/ext4/balloc.c
index 7ae223ed152f..80a4616c8244 100644
--- a/fs/ext4/balloc.c
+++ b/fs/ext4/balloc.c
@@ -1630,7 +1630,7 @@ ext4_fsblk_t ext4_new_blocks(handle_t *handle, struct inode *inode,
1630 1630
1631 sbi = EXT4_SB(sb); 1631 sbi = EXT4_SB(sb);
1632 es = EXT4_SB(sb)->s_es; 1632 es = EXT4_SB(sb)->s_es;
1633 ext4_debug("goal=%lu.\n", goal); 1633 ext4_debug("goal=%llu.\n", goal);
1634 /* 1634 /*
1635 * Allocate a block from reservation only when 1635 * Allocate a block from reservation only when
1636 * filesystem is mounted with reservation(default,-o reservation), and 1636 * filesystem is mounted with reservation(default,-o reservation), and
@@ -1740,7 +1740,7 @@ retry_alloc:
1740 1740
1741allocated: 1741allocated:
1742 1742
1743 ext4_debug("using block group %d(%d)\n", 1743 ext4_debug("using block group %lu(%d)\n",
1744 group_no, gdp->bg_free_blocks_count); 1744 group_no, gdp->bg_free_blocks_count);
1745 1745
1746 BUFFER_TRACE(gdp_bh, "get_write_access"); 1746 BUFFER_TRACE(gdp_bh, "get_write_access");
@@ -1898,7 +1898,7 @@ ext4_fsblk_t ext4_count_free_blocks(struct super_block *sb)
1898 brelse(bitmap_bh); 1898 brelse(bitmap_bh);
1899 printk("ext4_count_free_blocks: stored = %llu" 1899 printk("ext4_count_free_blocks: stored = %llu"
1900 ", computed = %llu, %llu\n", 1900 ", computed = %llu, %llu\n",
1901 EXT4_FREE_BLOCKS_COUNT(es), 1901 ext4_free_blocks_count(es),
1902 desc_count, bitmap_count); 1902 desc_count, bitmap_count);
1903 return bitmap_count; 1903 return bitmap_count;
1904#else 1904#else