summaryrefslogtreecommitdiffstats
path: root/fs/udf/udf_sb.h
diff options
context:
space:
mode:
authorJan Kara <jack@suse.cz>2023-01-25 11:43:03 +0100
committerJan Kara <jack@suse.cz>2023-01-26 16:46:32 +0100
commit1ea1cd11c72d1405a6b98440a9d5ea82dfa07166 (patch)
tree649829990ea476dc16f4817b5c2b3134a9a9e0a2 /fs/udf/udf_sb.h
parentudf: Propagate errors from udf_advance_blk() (diff)
downloadlinux-1ea1cd11c72d1405a6b98440a9d5ea82dfa07166.tar.xz
linux-1ea1cd11c72d1405a6b98440a9d5ea82dfa07166.zip
udf: Fix directory iteration for longer tail extents
When directory's last extent has more that one block and its length is not multiple of a block side, the code wrongly decided to move to the next extent instead of processing the last partial block. This led to directory corruption. Fix the rounding issue. Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'fs/udf/udf_sb.h')
0 files changed, 0 insertions, 0 deletions