aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYongqiang Yang <xiaoqiangnk@gmail.com>2011-06-28 10:19:05 -0400
committerTheodore Ts'o <tytso@mit.edu>2011-06-28 10:19:05 -0400
commit9331b6261058eb85ae7c57ab8ac279e7fdaa9f04 (patch)
tree3be0d02e7e917ec84cca7260dacff754da579156
parentf86186b44b4164600cce03d0d93ad48ec21fa429 (diff)
ext4: quiet 'unused variables' compile warnings
Unused variables was deleted. Signed-off-by: Yongqiang Yang <xiaoqiangnk@gmail.com> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
-rw-r--r--fs/ext4/extents.c2
-rw-r--r--fs/ext4/mballoc.c2
2 files changed, 0 insertions, 4 deletions
diff --git a/fs/ext4/extents.c b/fs/ext4/extents.c
index f331e5010f68..31ae5fbe89e5 100644
--- a/fs/ext4/extents.c
+++ b/fs/ext4/extents.c
@@ -3073,12 +3073,10 @@ static int ext4_convert_unwritten_extents_endio(handle_t *handle,
3073 struct ext4_ext_path *path) 3073 struct ext4_ext_path *path)
3074{ 3074{
3075 struct ext4_extent *ex; 3075 struct ext4_extent *ex;
3076 struct ext4_extent_header *eh;
3077 int depth; 3076 int depth;
3078 int err = 0; 3077 int err = 0;
3079 3078
3080 depth = ext_depth(inode); 3079 depth = ext_depth(inode);
3081 eh = path[depth].p_hdr;
3082 ex = path[depth].p_ext; 3080 ex = path[depth].p_ext;
3083 3081
3084 ext_debug("ext4_convert_unwritten_extents_endio: inode %lu, logical" 3082 ext_debug("ext4_convert_unwritten_extents_endio: inode %lu, logical"
diff --git a/fs/ext4/mballoc.c b/fs/ext4/mballoc.c
index 6ed859d56850..389386b41c98 100644
--- a/fs/ext4/mballoc.c
+++ b/fs/ext4/mballoc.c
@@ -4666,12 +4666,10 @@ void ext4_add_groupblocks(handle_t *handle, struct super_block *sb,
4666 struct ext4_buddy e4b; 4666 struct ext4_buddy e4b;
4667 int err = 0, ret, blk_free_count; 4667 int err = 0, ret, blk_free_count;
4668 ext4_grpblk_t blocks_freed; 4668 ext4_grpblk_t blocks_freed;
4669 struct ext4_group_info *grp;
4670 4669
4671 ext4_debug("Adding block(s) %llu-%llu\n", block, block + count - 1); 4670 ext4_debug("Adding block(s) %llu-%llu\n", block, block + count - 1);
4672 4671
4673 ext4_get_group_no_and_offset(sb, block, &block_group, &bit); 4672 ext4_get_group_no_and_offset(sb, block, &block_group, &bit);
4674 grp = ext4_get_group_info(sb, block_group);
4675 /* 4673 /*
4676 * Check to see if we are freeing blocks across a group 4674 * Check to see if we are freeing blocks across a group
4677 * boundary. 4675 * boundary.