mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-16 22:39:48 +00:00
udf: Fix off-by-one error when discarding preallocation
[ Upstream commitf54aa97fb7] The condition determining whether the preallocation can be used had an off-by-one error so we didn't discard preallocation when new allocation was just following it. This can then confuse code in inode_getblk(). CC: stable@vger.kernel.org Fixes:16d0556568("udf: Discard preallocation before extending file with a hole") Signed-off-by: Jan Kara <jack@suse.cz> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
e28533c080
commit
70b9184394
1 changed files with 1 additions and 1 deletions
Loading…
Add table
Add a link
Reference in a new issue