summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_clock.c
diff options
context:
space:
mode:
authorkib <kib@FreeBSD.org>2010-06-20 13:35:16 +0000
committerkib <kib@FreeBSD.org>2010-06-20 13:35:16 +0000
commite735ee5c8d1c56d4d050c3db2b30b65da1b04642 (patch)
tree99ea5fd01bccf95f5df89ea1cd7a141627c24669 /sys/kern/kern_clock.c
parent01e81eb99e553eaf40221a7ac49c862a8b7f9d87 (diff)
downloadFreeBSD-src-e735ee5c8d1c56d4d050c3db2b30b65da1b04642.zip
FreeBSD-src-e735ee5c8d1c56d4d050c3db2b30b65da1b04642.tar.gz
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
Diffstat (limited to 'sys/kern/kern_clock.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud