Source-Changes archive

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

CVS commit: src



Module Name:    src
Committed By:   perseant
Date:           Sat Nov  1 04:10:47 UTC 2025

Modified Files:
        src/sys/ufs/lfs: lfs_alloc.c lfs_extern.h lfs_inode.h lfs_rename.c
            lfs_vnops.c ulfs_vfsops.c
        src/tests/fs/vfs: t_vfsops.c

Log Message:
Create a new LFS inode flag, IN_DEAD, to indicate that a file's last
reference, other than those that come with VU_DIROP or IN_CLEANING and
the one the caller holds, has been dropped.  Check and apply this flag
in lfs_orphan(), and call lfs_orphan() on close if the link count is
zero.  Change the signature of lfs_orphan to facilitate.

Make test t_vfsops:lfs_tfhremove expect success.

Closes PR kern/43745.


To generate a diff of this commit:
cvs rdiff -u -r1.145 -r1.146 src/sys/ufs/lfs/lfs_alloc.c
cvs rdiff -u -r1.123 -r1.124 src/sys/ufs/lfs/lfs_extern.h
cvs rdiff -u -r1.27 -r1.28 src/sys/ufs/lfs/lfs_inode.h
cvs rdiff -u -r1.25 -r1.26 src/sys/ufs/lfs/lfs_rename.c
cvs rdiff -u -r1.345 -r1.346 src/sys/ufs/lfs/lfs_vnops.c
cvs rdiff -u -r1.16 -r1.17 src/sys/ufs/lfs/ulfs_vfsops.c
cvs rdiff -u -r1.12 -r1.13 src/tests/fs/vfs/t_vfsops.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