Skip to content
Commit 7038f1cb authored by Dave Kleikamp's avatar Dave Kleikamp
Browse files

JFS: make sure right-most xtree pages have header.next set to zero



The xtTruncate code was only doing this for leaf pages.  When a file is
horribly fragmented, we may truncate a file leaving an internal page with
an invalid head.next field, which may cause a stale page to be referenced.

Signed-off-by: default avatarDave Kleikamp <shaggy@austin.ibm.com>
parent b6a47fd8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment