]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
- Cleanup unlocked accesses to buf flags by introducing a new b_vflag member
authorjeff <jeff@FreeBSD.org>
Sun, 9 Feb 2003 11:28:35 +0000 (11:28 +0000)
committerjeff <jeff@FreeBSD.org>
Sun, 9 Feb 2003 11:28:35 +0000 (11:28 +0000)
commit87e306ad712d6a7daef1073b7fb94c0fa90908d2
tree48d962faa6bfdae347b467d003b11e355ce17172
parent75e9ed76e4bbf5978303d4d7ee581c86bef55c50
 - Cleanup unlocked accesses to buf flags by introducing a new b_vflag member
   that is protected by the vnode lock.
 - Move B_SCANNED into b_vflags and call it BV_SCANNED.
 - Create a vop_stdfsync() modeled after spec's sync.
 - Replace spec_fsync, msdos_fsync, and hpfs_fsync with the stdfsync and some
   fs specific processing.  This gives all of these filesystems proper
   behavior wrt MNT_WAIT/NOWAIT and the use of the B_SCANNED flag.
 - Annotate the locking in buf.h
sys/fs/hpfs/hpfs_vnops.c
sys/fs/msdosfs/msdosfs_vnops.c
sys/fs/specfs/spec_vnops.c
sys/kern/vfs_bio.c
sys/kern/vfs_default.c
sys/sys/buf.h
sys/sys/vnode.h
sys/ufs/ffs/ffs_vnops.c