ext4: Fix sparse warning From: Aneesh Kumar K.V Signed-off-by: Aneesh Kumar K.V Signed-off-by: "Theodore Ts'o" --- fs/ext4/balloc.c | 2 +- fs/ext4/super.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) Index: linux-2.6.26-rc9/fs/ext4/balloc.c =================================================================== --- linux-2.6.26-rc9.orig/fs/ext4/balloc.c 2008-07-11 16:05:01.000000000 -0700 +++ linux-2.6.26-rc9/fs/ext4/balloc.c 2008-07-11 16:05:04.000000000 -0700 @@ -47,7 +47,7 @@ static int ext4_block_in_group(struct su ext4_group_t block_group) { ext4_group_t actual_group; - ext4_get_group_no_and_offset(sb, block, &actual_group, 0); + ext4_get_group_no_and_offset(sb, block, &actual_group, NULL); if (actual_group == block_group) return 1; return 0; Index: linux-2.6.26-rc9/fs/ext4/super.c =================================================================== --- linux-2.6.26-rc9.orig/fs/ext4/super.c 2008-07-11 16:05:02.000000000 -0700 +++ linux-2.6.26-rc9/fs/ext4/super.c 2008-07-11 16:05:04.000000000 -0700 @@ -1858,8 +1858,8 @@ static unsigned long ext4_get_stripe_siz } static int ext4_fill_super (struct super_block *sb, void *data, int silent) - __releases(kernel_sem) - __acquires(kernel_sem) + __releases(kernel_lock) + __acquires(kernel_lock) { struct buffer_head * bh;