ocfs2: Don't check for NULL before brelse()
This is pointless as brelse() already does the check. Signed-off-by: Mark Fasheh
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user