diff options
author | Mark Fasheh <mfasheh@suse.com> | 2008-10-07 17:25:16 -0400 |
---|---|---|
committer | Mark Fasheh <mfasheh@suse.com> | 2008-10-13 20:02:44 -0400 |
commit | a81cb88b64a479b78c6dd5666678d50171865db8 (patch) | |
tree | 9fe0f67e30d7c70d43785827e57736ac01558c24 /fs/ocfs2/aops.c | |
parent | fd8351f83d413b41da956109cf429c15881886e2 (diff) |
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/aops.c')
-rw-r--r-- | fs/ocfs2/aops.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/ocfs2/aops.c b/fs/ocfs2/aops.c index de179054a74b..98e16fb49e4b 100644 --- a/fs/ocfs2/aops.c +++ b/fs/ocfs2/aops.c | |||
@@ -128,8 +128,7 @@ static int ocfs2_symlink_get_block(struct inode *inode, sector_t iblock, | |||
128 | err = 0; | 128 | err = 0; |
129 | 129 | ||
130 | bail: | 130 | bail: |
131 | if (bh) | 131 | brelse(bh); |
132 | brelse(bh); | ||
133 | 132 | ||
134 | mlog_exit(err); | 133 | mlog_exit(err); |
135 | return err; | 134 | return err; |