Source-Changes archive

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

CVS commit: src/sys/ufs/ffs



Module Name:    src
Committed By:   joerg
Date:           Sat Dec  6 20:05:55 UTC 2008

Modified Files:
        src/sys/ufs/ffs: ffs_alloc.c ffs_extern.h ffs_snapshot.c ffs_softdep.c

Log Message:
Split ffs_freefile into a frontend for normal cylinder group and for
snapshot use. Adjust ffs_blkfree_common to get the fs instance passed
in, the original commit didn't account blocks in the snapshots
correctly. Assert that ffs_blkfree is used with the primary fs instance
and that ffs_checkfreefile is only used for snapshots. Move the bdwrite
from ffs_blkfree_common into the caller for symmetry. This creates a
redundant write of unmodified data for ffs_blkfree_snap if a double free
of a block happens.

Reviewed and tested by hannken@.


To generate a diff of this commit:
cvs rdiff -r1.118 -r1.119 src/sys/ufs/ffs/ffs_alloc.c
cvs rdiff -r1.73 -r1.74 src/sys/ufs/ffs/ffs_extern.h
cvs rdiff -r1.83 -r1.84 src/sys/ufs/ffs/ffs_snapshot.c
cvs rdiff -r1.115 -r1.116 src/sys/ufs/ffs/ffs_softdep.c

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