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:           Fri Sep 15 18:50:49 UTC 2006

Modified Files:
        src/sys/ufs/lfs: lfs.h lfs_subr.c lfs_vnops.c

Log Message:
Don't remark a locked inode with IN_MODIFIED after writing it to disk,
if we ourselves hold the lock.  This prevents e.g. mknod from hanging
indefinitely.

Also, always use the return value from VOP_ISLOCKED to determine whether
we hold the lock or someone else does, rather than looking into the lock
structure ourselves.


To generate a diff of this commit:
cvs rdiff -r1.115 -r1.116 src/sys/ufs/lfs/lfs.h
cvs rdiff -r1.61 -r1.62 src/sys/ufs/lfs/lfs_subr.c
cvs rdiff -r1.188 -r1.189 src/sys/ufs/lfs/lfs_vnops.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