freebsd-skq/sys/ufs
dillon 414d15acb8 Fix a 'freeing free block' panic in UFS. The problem occurs when the
filesystem fills up.  If the first indirect block exists and FFS is able
    to allocate deeper indirect blocks, but is not able to allocate the
    data block, FFS improperly unwinds the indirect blocks and leaves a
    block pointer hanging to a freed block.  This will cause a panic later
    when the file is removed.  The solution is to properly account for the
    first block-pointer-to-an-indirect-block we had to create in a balloc
    operation and then unwind it if a failure occurs.

Detective work by: Ian Dowse <iedowse@maths.tcd.ie>
Reviewed by: mckusick, Ian Dowse <iedowse@maths.tcd.ie>
Approved by: jkh
2000-02-24 20:43:20 +00:00
..
ffs Fix a 'freeing free block' panic in UFS. The problem occurs when the 2000-02-24 20:43:20 +00:00
mfs Second pass commit to introduce new ACL and Extended Attribute system 1999-12-19 06:08:07 +00:00
ufs After much consulting with bde, concluded that this fix was the best fix 2000-02-22 03:56:58 +00:00