projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3c1fcb2
)
ext4: fix up a undefined error in ext4_free_blocks in debugging code
author
Yongqiang Yang
<xiaoqiangnk@gmail.com>
Mon, 21 Nov 2011 17:09:19 +0000
(12:09 -0500)
committer
Theodore Ts'o
<tytso@mit.edu>
Mon, 21 Nov 2011 17:09:19 +0000
(12:09 -0500)
sbi is not defined, so let ext4_free_blocks use EXT4_SB(sb) instead
when EXT4FS_DEBUG is defined.
Signed-off-by: Yongqiang Yang <xiaoqiangnk@gmail.com>
fs/ext4/balloc.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/ext4/balloc.c
b/fs/ext4/balloc.c
index f6dba4505f1cc7e4f251f28a18bbeea5b3dcb2a7..12ccacda44e0288e13247e3e79ebd414287eb548 100644
(file)
--- a/
fs/ext4/balloc.c
+++ b/
fs/ext4/balloc.c
@@
-565,7
+565,7
@@
ext4_fsblk_t ext4_count_free_clusters(struct super_block *sb)
brelse(bitmap_bh);
printk(KERN_DEBUG "ext4_count_free_clusters: stored = %llu"
", computed = %llu, %llu\n",
- EXT4_B2C(
sbi
, ext4_free_blocks_count(es)),
+ EXT4_B2C(
EXT4_SB(sb)
, ext4_free_blocks_count(es)),
desc_count, bitmap_count);
return bitmap_count;
#else