summaryrefslogtreecommitdiffstats
path: root/sys/ufs/ffs
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2008-09-24 18:51:33 +0000
committerjhb <jhb@FreeBSD.org>2008-09-24 18:51:33 +0000
commit1161006cb695195ef1ddc08bd587d10755925084 (patch)
treeee684698e82de9b4671dd17a420741a7518401dd /sys/ufs/ffs
parent8d01b3e526211bb7a97d75c934a16413164f2b81 (diff)
downloadFreeBSD-src-1161006cb695195ef1ddc08bd587d10755925084.zip
FreeBSD-src-1161006cb695195ef1ddc08bd587d10755925084.tar.gz
Part 1 of making shared lookups more resilient with respect to forced
unmounts. When we upgrade a vnode lock from shared to exclusive during a name cache lookup, fail the lookup with EBADF if the vnode is invalidated while we are waiting for the exclusive lock. Also, for correctness (though I'm not sure it can occur in practice), downgrade an exclusively locked vnode if it should be share locked. Tested by: pho
Diffstat (limited to 'sys/ufs/ffs')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud