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:   hannken
Date:           Thu Jun 24 07:54:48 UTC 2010

Modified Files:
        src/share/man/man9: vnodeops.9
        src/sys/coda: coda_vnops.c
        src/sys/fs/nilfs: nilfs_vnops.c
        src/sys/fs/udf: udf_vnops.c
        src/sys/fs/unionfs: unionfs_subr.c unionfs_vnops.c
        src/sys/kern: vfs_subr.c
        src/sys/miscfs/genfs: genfs_vnops.c
        src/sys/nfs: nfs_vfsops.c
        src/sys/sys: lock.h
        src/sys/ufs/lfs: lfs_subr.c lfs_vnops.c

Log Message:
Clean up vnode lock operations:

 - VOP_LOCK(vp, flags): Limit the set of allowed flags to LK_EXCLUSIVE,
   LK_SHARED and LK_NOWAIT.  LK_INTERLOCK is no longer allowed as it
   makes no sense here.

- VOP_ISLOCKED(vp): Remove the for some time unused return value
  LK_EXCLOTHER.  Mark this operation as "diagnostic only".
  Making a lock decision based on this operation is no longer allowed.

Discussed on tech-kern.


To generate a diff of this commit:
cvs rdiff -u -r1.78 -r1.79 src/share/man/man9/vnodeops.9
cvs rdiff -u -r1.71 -r1.72 src/sys/coda/coda_vnops.c
cvs rdiff -u -r1.4 -r1.5 src/sys/fs/nilfs/nilfs_vnops.c
cvs rdiff -u -r1.57 -r1.58 src/sys/fs/udf/udf_vnops.c
cvs rdiff -u -r1.7 -r1.8 src/sys/fs/unionfs/unionfs_subr.c
cvs rdiff -u -r1.1 -r1.2 src/sys/fs/unionfs/unionfs_vnops.c
cvs rdiff -u -r1.405 -r1.406 src/sys/kern/vfs_subr.c
cvs rdiff -u -r1.178 -r1.179 src/sys/miscfs/genfs/genfs_vnops.c
cvs rdiff -u -r1.212 -r1.213 src/sys/nfs/nfs_vfsops.c
cvs rdiff -u -r1.84 -r1.85 src/sys/sys/lock.h
cvs rdiff -u -r1.74 -r1.75 src/sys/ufs/lfs/lfs_subr.c
cvs rdiff -u -r1.227 -r1.228 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