summaryrefslogtreecommitdiffstats
path: root/sys/ufs/ffs/fs.h
diff options
context:
space:
mode:
authorjeff <jeff@FreeBSD.org>2008-03-31 07:55:45 +0000
committerjeff <jeff@FreeBSD.org>2008-03-31 07:55:45 +0000
commit19683433293d234a790a69f46600e66ef5cbe6d3 (patch)
tree7894f50da748b21eeef4fcdd7ae757352aa2ecac /sys/ufs/ffs/fs.h
parent5e4f326d87a3ff8fcfa0d54104443f7c36248506 (diff)
downloadFreeBSD-src-19683433293d234a790a69f46600e66ef5cbe6d3.zip
FreeBSD-src-19683433293d234a790a69f46600e66ef5cbe6d3.tar.gz
- Since rev 1.142 of ffs_snapshot.c the interlock has not been required
to protect the v_lock pointer. Removing the interlock acquisition here allows vn_lock() to proceed without requiring the interlock at all. - If the lock mutated while we were sleeping on it the interlock has been dropped. It is conceivable that the upper layer code was relying on the interlock and LK_NOWAIT to protect the identity or state of the vnode while acquiring the lock. In this case return EBUSY rather than trying the new lock to prevent potential races. Reviewed by: tegge
Diffstat (limited to 'sys/ufs/ffs/fs.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud