aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/timerlist.py
diff options
context:
space:
mode:
authorSteven J. Magnani <[email protected]>2019-06-30 21:39:35 -0500
committerJan Kara <[email protected]>2019-07-10 10:11:24 +0200
commitfa33cdbf3eceb0206a4f844fe91aeebcf6ff2b7a (patch)
tree281cbca1317d602a0d7cbabf37b7e492cc5be3ec /scripts/gdb/linux/timerlist.py
parent90f15ac9fa7e7ff66e0980309d8184bff0611624 (diff)
udf: Fix incorrect final NOT_ALLOCATED (hole) extent length
In some cases, using the 'truncate' command to extend a UDF file results in a mismatch between the length of the file's extents (specifically, due to incorrect length of the final NOT_ALLOCATED extent) and the information (file) length. The discrepancy can prevent other operating systems (i.e., Windows 10) from opening the file. Two particular errors have been observed when extending a file: 1. The final extent is larger than it should be, having been rounded up to a multiple of the block size. B. The final extent is not shorter than it should be, due to not having been updated when the file's information length was increased. [JK: simplified udf_do_extend_final_block(), fixed up some types] Fixes: 2c948b3f86e5 ("udf: Avoid IO in udf_clear_inode") CC: [email protected] Signed-off-by: Steven J. Magnani <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jan Kara <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/timerlist.py')
0 files changed, 0 insertions, 0 deletions