You've already forked linux-rockchip
mirror of
https://github.com/armbian/linux-rockchip.git
synced 2026-01-06 11:08:10 -08:00
Revert "exfat: fix memory leak in exfat_load_bitmap()"
This reverts commit6732e1af29. Replaced by commit4e1813e52f("exfat: fix memory leak in exfat_load_bitmap()"). Signed-off-by: Tao Huang <huangtao@rock-chips.com> Change-Id: I323d80bccfc1c1fa021d9b86433a766f7bbebe5b
This commit is contained in:
@@ -110,14 +110,10 @@ int exfat_load_bitmap(struct super_block *sb)
|
||||
return -EIO;
|
||||
|
||||
type = exfat_get_entry_type(ep);
|
||||
if (type == TYPE_UNUSED) {
|
||||
brelse(bh);
|
||||
if (type == TYPE_UNUSED)
|
||||
break;
|
||||
}
|
||||
if (type != TYPE_BITMAP) {
|
||||
brelse(bh);
|
||||
if (type != TYPE_BITMAP)
|
||||
continue;
|
||||
}
|
||||
if (ep->dentry.bitmap.flags == 0x0) {
|
||||
int err;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user