Source-Changes archive

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

CVS commit: src/sys/ufs/lfs



Module Name:    src
Committed By:   perseant
Date:           Mon Sep 15 04:14:59 UTC 2025

Modified Files:
        src/sys/ufs/lfs: lfs.h lfs_accessors.h lfs_alloc.c

Log Message:
If setting the head (or tail) of the inode free list to LFS_UNUSED_INUM, also
set the tail (resp. head) to LFS_UNUSED_INUM, as the list is now empty.

Add a check to ensure that lfs_valloc_fixed will always terminate, even
if the free list should contain a loop.  Extend the ifile at the end if it
is empty, to match the assumption of lfs_valloc() that the free list is
never empty.

Needed for roll-forward.


To generate a diff of this commit:
cvs rdiff -u -r1.208 -r1.209 src/sys/ufs/lfs/lfs.h
cvs rdiff -u -r1.51 -r1.52 src/sys/ufs/lfs/lfs_accessors.h
cvs rdiff -u -r1.141 -r1.142 src/sys/ufs/lfs/lfs_alloc.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