aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ext2/inode.c
diff options
context:
space:
mode:
authorEric Sandeen <[email protected]>2007-10-17 06:26:30 +0000
committerLinus Torvalds <[email protected]>2007-10-17 15:42:49 +0000
commitef2fb67989d30fea475bb01c5b7ca44adbce5dea (patch)
tree295e6be829b658f198fd2331c02a0477bf7fd245 /fs/ext2/inode.c
parentfs: remove the unused mempages parameter (diff)
downloadkernel-ef2fb67989d30fea475bb01c5b7ca44adbce5dea.tar.gz
kernel-ef2fb67989d30fea475bb01c5b7ca44adbce5dea.zip
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 <[email protected]> Cc: <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
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,
goto Einval;
block_group = (ino - 1) / EXT2_INODES_PER_GROUP(sb);
- gdp = ext2_get_group_desc(sb, block_group, &bh);
+ gdp = ext2_get_group_desc(sb, block_group, NULL);
if (!gdp)
goto Egdp;
/*