Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/sys



Module Name:    src
Committed By:   jdolecek
Date:           Thu Nov 10 20:56:32 UTC 2016

Modified Files:
        src/sys/kern: vfs_wapbl.c
        src/sys/sys: wapbl.h
        src/sys/ufs/ffs: ffs_inode.c ffs_wapbl.c
        src/sys/ufs/ufs: ufs_wapbl.h

Log Message:
during truncate with wapbl, register deallocation for upper indirect block
before recursing into lower blocks, to make sure that it will be removed after
all its referenced blocks are removed

fixes 'ffs_blkfree_common: freeing free block' panic triggered by
ufs_truncate_retry() when just the upper indirect block registration failed,
code tried to free the lower blocks again after wapbl flush

problem found by hannken@, thank you


To generate a diff of this commit:
cvs rdiff -u -r1.85 -r1.86 src/sys/kern/vfs_wapbl.c
cvs rdiff -u -r1.19 -r1.20 src/sys/sys/wapbl.h
cvs rdiff -u -r1.121 -r1.122 src/sys/ufs/ffs/ffs_inode.c
cvs rdiff -u -r1.35 -r1.36 src/sys/ufs/ffs/ffs_wapbl.c
cvs rdiff -u -r1.12 -r1.13 src/sys/ufs/ufs/ufs_wapbl.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index