mirror of
https://github.com/adulau/aha.git
synced 2024-12-27 11:16:11 +00:00
jfs: fix regression preventing coalescing of extents
Commit fec1878fe9
caused a regression in
which contiguous blocks being allocated to the end of an extent were
getting a new extent created. This typically results in files entirely
made up of 1-block extents even though the blocks are contiguous on
disk.
Apparently grub doesn't handle a jfs file being fragmented into too many
extents, since it refuses to boot a kernel from jfs that was created by
the 2.6.30 kernel.
Signed-off-by: Dave Kleikamp <shaggy@linux.vnet.ibm.com>
Reported-by: Alex <alevkovich@tut.by>
This commit is contained in:
parent
a525890cb6
commit
f7c52fd17a
1 changed files with 1 additions and 0 deletions
|
@ -391,6 +391,7 @@ int extHint(struct inode *ip, s64 offset, xad_t * xp)
|
|||
}
|
||||
XADaddress(xp, xaddr);
|
||||
XADlength(xp, xlen);
|
||||
XADoffset(xp, prev);
|
||||
/*
|
||||
* only preserve the abnr flag within the xad flags
|
||||
* of the returned hint.
|
||||
|
|
Loading…
Reference in a new issue