udf: Fix bh leak for unallocated space entries

When processing unallocated space entries we didn't properly release the
inode bh. Fix it.

Signed-off-by: Jan Kara <jack@suse.cz>
This commit is contained in:
Jan Kara
2026-07-27 13:37:12 +02:00
parent b8228f59dc
commit d95094d4c0

View File

@@ -1486,6 +1486,7 @@ static int udf_read_inode(struct inode *inode, bool hidden_inode)
memcpy(iinfo->i_data,
bh->b_data + sizeof(struct unallocSpaceEntry),
bs - sizeof(struct unallocSpaceEntry));
brelse(bh);
return 0;
}