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:
parent
75588ef133
commit
8533b2249e
1 changed files with 2 additions and 6 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue