aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ext2/inode.c
diff options
context:
space:
mode:
authorEric Sandeen <sandeen@redhat.com>2007-10-17 02:26:30 -0400
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-10-17 11:42:49 -0400
commitef2fb67989d30fea475bb01c5b7ca44adbce5dea (patch)
tree295e6be829b658f198fd2331c02a0477bf7fd245 /fs/ext2/inode.c
parent74bf17cffc32511c7c6d70fe7f376b92662e186e (diff)
remove unused bh in calls to ext234_get_group_desc
ext[234]_get_group_desc never tests the bh argument, and only sets it if it is passed in; it is perfectly happy with a NULL bh argument. But, many callers send one in and never use it. May as well call with NULL like other callers who don't use the bh. Signed-off-by: Eric Sandeen <sandeen@redhat.com> Cc: <linux-ext4@vger.kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/ext2/inode.c')
-rw-r--r--fs/ext2/inode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ext2/inode.c b/fs/ext2/inode.c
index 1b102a1ccebb..84818176fd9d 100644
--- a/fs/ext2/inode.c
+++ b/fs/ext2/inode.c
@@ -1028,7 +1028,7 @@ static struct ext2_inode *ext2_get_inode(struct super_block *sb, ino_t ino,
1028 goto Einval; 1028 goto Einval;
1029 1029
1030 block_group = (ino - 1) / EXT2_INODES_PER_GROUP(sb); 1030 block_group = (ino - 1) / EXT2_INODES_PER_GROUP(sb);
1031 gdp = ext2_get_group_desc(sb, block_group, &bh); 1031 gdp = ext2_get_group_desc(sb, block_group, NULL);
1032 if (!gdp) 1032 if (!gdp)
1033 goto Egdp; 1033 goto Egdp;
1034 /* 1034 /*