]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
JFS: make sure right-most xtree pages have header.next set to zero
authorDave Kleikamp <shaggy@austin.ibm.com>
Fri, 28 Oct 2005 18:27:40 +0000 (13:27 -0500)
committerDave Kleikamp <shaggy@austin.ibm.com>
Fri, 28 Oct 2005 18:27:40 +0000 (13:27 -0500)
commit7038f1cbac899654cf0515e60dbe3e44d58271de
tree73909f95989f10bd85929073395e494ceb1a6b3f
parentb6a47fd8ff08a9d5cd279cdb8d97a619983575fa
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: Dave Kleikamp <shaggy@austin.ibm.com>
fs/jfs/jfs_xtree.c