aboutsummaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>2008-07-11 19:27:31 -0400
committerTheodore Ts'o <tytso@mit.edu>2008-07-11 19:27:31 -0400
commit7477827f6686ce29b6216d9eb26f6b9027742dcc (patch)
tree43bb05000b155120382066298c3d66a8422852f9 /fs
parentd9c769b769a8bcd70371c71797fc4e407b37ba75 (diff)
ext4: Fix sparse warning
Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'fs')
-rw-r--r--fs/ext4/balloc.c2
-rw-r--r--fs/ext4/super.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/fs/ext4/balloc.c b/fs/ext4/balloc.c
index 0b2b7549ac63..6dcbec9b2562 100644
--- a/fs/ext4/balloc.c
+++ b/fs/ext4/balloc.c
@@ -47,7 +47,7 @@ static int ext4_block_in_group(struct super_block *sb, ext4_fsblk_t block,
47 ext4_group_t block_group) 47 ext4_group_t block_group)
48{ 48{
49 ext4_group_t actual_group; 49 ext4_group_t actual_group;
50 ext4_get_group_no_and_offset(sb, block, &actual_group, 0); 50 ext4_get_group_no_and_offset(sb, block, &actual_group, NULL);
51 if (actual_group == block_group) 51 if (actual_group == block_group)
52 return 1; 52 return 1;
53 return 0; 53 return 0;
diff --git a/fs/ext4/super.c b/fs/ext4/super.c
index 6c80f37433ef..80f06159ee99 100644
--- a/fs/ext4/super.c
+++ b/fs/ext4/super.c
@@ -1858,8 +1858,8 @@ static unsigned long ext4_get_stripe_size(struct ext4_sb_info *sbi)
1858} 1858}
1859 1859
1860static int ext4_fill_super (struct super_block *sb, void *data, int silent) 1860static int ext4_fill_super (struct super_block *sb, void *data, int silent)
1861 __releases(kernel_sem) 1861 __releases(kernel_lock)
1862 __acquires(kernel_sem) 1862 __acquires(kernel_lock)
1863 1863
1864{ 1864{
1865 struct buffer_head * bh; 1865 struct buffer_head * bh;