肖在 e0cd43f8a5 Handle non-continuous data blocks in
directory extents

The directory extent list does not have to be a continuous list of data
blocks. When GRUB tries to read a non-existant member of the list,
grub_xfs_read_file() will return a block of zero'ed memory. Checking for
a zero'ed magic number is sufficient to skip this non-existant data block.

Prior to commit 07318ee7e (fs/xfs: Fix XFS directory extent parsing)
this was handled as a subtle side effect of reading the (non-existant)
tail data structure. Since the block was zero'ed the computation of the
number of directory entries in the block would return 0 as well.
2024-05-11 10:06:01 +08:00
2020-08-01 16:57:12 +08:00
2020-08-01 16:57:12 +08:00
2022-04-11 21:19:03 +08:00
2024-03-04 19:17:07 +08:00
2019-12-13 15:26:39 +08:00
2022-04-11 21:19:03 +08:00
2022-04-11 21:19:03 +08:00
2024-03-04 19:17:07 +08:00
2024-03-04 19:17:07 +08:00
2024-03-04 19:17:07 +08:00
2024-03-04 19:17:07 +08:00
2024-03-04 19:17:07 +08:00
2024-03-04 19:17:07 +08:00
2024-03-04 19:17:07 +08:00
2024-03-04 19:17:07 +08:00
2024-03-04 19:17:07 +08:00
2024-03-04 19:17:07 +08:00
2024-03-04 19:17:07 +08:00
2024-03-04 19:17:07 +08:00
2024-03-04 19:17:07 +08:00
2024-03-04 19:17:07 +08:00
2024-03-04 19:17:07 +08:00
2024-03-04 19:17:07 +08:00
2024-03-04 19:17:07 +08:00
2024-03-04 19:17:07 +08:00
2024-03-04 19:17:07 +08:00
2024-03-04 19:17:07 +08:00
2020-06-12 17:25:18 +08:00
2024-03-04 19:17:07 +08:00
2024-03-04 19:17:07 +08:00
2024-03-04 19:17:07 +08:00
2024-03-04 19:17:07 +08:00
2024-03-04 19:17:07 +08:00
2019-09-30 10:52:04 -04:00
2019-09-30 10:52:04 -04:00
2024-03-04 19:17:07 +08:00
2022-04-11 21:19:03 +08:00
Description
No description provided
35 MiB
Languages
Shell 95.1%
C 4.9%