Date: Sun, 20 Jun 2010 13:35:16 +0000 (UTC) From: Konstantin Belousov <kib@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/ufs/ufs ufs_lookup.c Message-ID: <201006201335.o5KDZX8l026414@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
kib 2010-06-20 13:35:16 UTC
FreeBSD src repository
Modified files:
sys/ufs/ufs ufs_lookup.c
Log:
SVN rev 209367 on 2010-06-20 13:35:16Z by kib
Ensure that VOP_ACCESSX is called with exclusively locked vnode for
the kernel compiled with QUOTA option. ufs_accessx() upgrades the vdp
vnode lock from shared to exclusive to assign the dquot structure to
the vnode, and ufs_delete_denied() is called when tvp is locked. Since
upgrade drops shared lock when non-blocked upgrade failed, LOR is there.
Reported and tested by: Dmitry Pryanishnikov <lynx.ripe gmail com>
Tested by: pho
PR: kern/147890
MFC after: 1 week
Revision Changes Path
1.104 +33 -0 src/sys/ufs/ufs/ufs_lookup.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201006201335.o5KDZX8l026414>
