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:
@@ -158,8 +158,7 @@ bail:
|
||||
kunmap(page);
|
||||
page_cache_release(page);
|
||||
}
|
||||
if (bh)
|
||||
brelse(bh);
|
||||
brelse(bh);
|
||||
|
||||
return ERR_PTR(status);
|
||||
}
|
||||
|
Reference in New Issue
Block a user