aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorKonstantin Belousov <kib@FreeBSD.org>2013-05-30 20:00:19 +0000
committerKonstantin Belousov <kib@FreeBSD.org>2013-05-30 20:00:19 +0000
commit7560005c4159f2ab5b497c5455a1e542400def4f (patch)
treecd232be5aa494d81ef875403216e779919449aed /contrib
parent782d4a636b4e30935f3bfb408e7e8ede2afa634a (diff)
downloadsrc-7560005c4159f2ab5b497c5455a1e542400def4f.tar.gz
src-7560005c4159f2ab5b497c5455a1e542400def4f.zip
After the object lock was dropped, the object' reference count could
change. Retest the ref_count and return from the function to not execute the further code which assumes that ref_count == 1 if it is not. Also, do not leak vnode lock if other thread cleared OBJ_TMPFS flag meantime. Reported by: bdrewery Tested by: bdrewery, pho Sponsored by: The FreeBSD Foundation
Notes
Notes: svn path=/head/; revision=251151
Diffstat (limited to 'contrib')
0 files changed, 0 insertions, 0 deletions