Date: Thu, 26 Jul 2007 16:58:10 +0000 (UTC) From: Pawel Jakub Dawidek <pjd@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/fs/devfs devfs_vnops.c src/sys/fs/fifofs fifo_vnops.c src/sys/kern uipc_usrreq.c vfs_vnops.c src/sys/vm vnode_pager.c Message-ID: <200707261658.l6QGwAs8038591@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
pjd 2007-07-26 16:58:09 UTC FreeBSD src repository Modified files: sys/fs/devfs devfs_vnops.c sys/fs/fifofs fifo_vnops.c sys/kern uipc_usrreq.c vfs_vnops.c sys/vm vnode_pager.c Log: When we do open, we should lock the vnode exclusively. This fixes few races: - fifo race, where two threads assign v_fifoinfo, - v_writecount modifications, - v_object modifications, - and probably more... Discussed with: kib, ups Approved by: re (rwatson) Revision Changes Path 1.149 +1 -0 src/sys/fs/devfs/devfs_vnops.c 1.138 +1 -1 src/sys/fs/fifofs/fifo_vnops.c 1.206 +1 -1 src/sys/kern/uipc_usrreq.c 1.252 +2 -2 src/sys/kern/vfs_vnops.c 1.236 +3 -3 src/sys/vm/vnode_pager.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200707261658.l6QGwAs8038591>