diff options
author | Mark Fasheh <mfasheh@suse.com> | 2008-10-07 14:25:16 -0700 |
---|---|---|
committer | Mark Fasheh <mfasheh@suse.com> | 2008-10-13 17:02:44 -0700 |
commit | a81cb88b64a479b78c6dd5666678d50171865db8 (patch) | |
tree | 9fe0f67e30d7c70d43785827e57736ac01558c24 /fs/ocfs2/super.c | |
parent | fd8351f83d413b41da956109cf429c15881886e2 (diff) | |
download | linux-a81cb88b64a479b78c6dd5666678d50171865db8.tar.gz linux-a81cb88b64a479b78c6dd5666678d50171865db8.tar.bz2 linux-a81cb88b64a479b78c6dd5666678d50171865db8.zip |
ocfs2: Don't check for NULL before brelse()
This is pointless as brelse() already does the check.
Signed-off-by: Mark Fasheh
Diffstat (limited to 'fs/ocfs2/super.c')
-rw-r--r-- | fs/ocfs2/super.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/ocfs2/super.c b/fs/ocfs2/super.c index d2027cec8f3b..304b63ac78cf 100644 --- a/fs/ocfs2/super.c +++ b/fs/ocfs2/super.c @@ -762,8 +762,7 @@ static int ocfs2_fill_super(struct super_block *sb, void *data, int silent) return status; read_super_error: - if (bh != NULL) - brelse(bh); + brelse(bh); if (inode) iput(inode); |