linux-stable/fs/udf
Jan Kara f54aa97fb7 udf: Fix off-by-one error when discarding preallocation
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>
2023-01-26 16:46:35 +01:00
..
balloc.c udf: Drop VARCONV support 2023-01-26 16:46:32 +01:00
dir.c udf: Convert udf_readdir() to new directory iteration 2023-01-09 10:39:51 +01:00
directory.c udf: Drop VARCONV support 2023-01-26 16:46:32 +01:00
ecma_167.h udf: Get rid of 0-length arrays in struct fileIdentDesc 2021-08-11 16:54:44 +02:00
file.c udf: Allocate blocks on write page fault 2023-01-26 16:46:35 +01:00
ialloc.c udf: Fix error handling in udf_new_inode() 2021-12-15 13:08:34 +01:00
inode.c udf: Fix off-by-one error when discarding preallocation 2023-01-26 16:46:35 +01:00
Kconfig docs: filesystems: fix renamed references 2020-04-20 15:45:22 -06:00
lowlevel.c udf: Unify types in anchor block detection 2023-01-26 16:46:32 +01:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
misc.c udf: Drop VARCONV support 2023-01-26 16:46:32 +01:00
namei.c udf: Protect rename against modification of moved directory 2023-01-26 16:46:34 +01:00
osta_udf.h udf: Get rid of 0-length arrays 2021-08-11 16:54:44 +02:00
partition.c udf: Use udf_bread() in udf_get_pblock_virt15() 2023-01-26 16:46:33 +01:00
super.c udf: Use udf_bread() in udf_load_vat() 2023-01-26 16:46:33 +01:00
symlink.c udf: Convert udf_symlink_filler() to use udf_bread() 2023-01-26 16:46:33 +01:00
truncate.c udf: Drop VARCONV support 2023-01-26 16:46:32 +01:00
udf_i.h udf: Preserve link count of system files 2023-01-09 10:39:53 +01:00
udf_sb.h udf: Drop VARCONV support 2023-01-26 16:46:32 +01:00
udfdecl.h udf: Allocate blocks on write page fault 2023-01-26 16:46:35 +01:00
udfend.h
udftime.c
unicode.c udf: Fix iocharset=utf8 mount option 2021-08-12 16:07:09 +02:00