summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib/qsort.c
diff options
context:
space:
mode:
authormckusick <mckusick@FreeBSD.org>2012-03-28 21:21:19 +0000
committermckusick <mckusick@FreeBSD.org>2012-03-28 21:21:19 +0000
commit8c9c124d251f62554e56b118b1ddaa70205b3b85 (patch)
tree10030561d05cd2b87ce963df2246de55b590037f /lib/libc/stdlib/qsort.c
parent5edfb77dd3a164bb9d2d40c6604faa6c9f3dce15 (diff)
downloadFreeBSD-src-8c9c124d251f62554e56b118b1ddaa70205b3b85.zip
FreeBSD-src-8c9c124d251f62554e56b118b1ddaa70205b3b85.tar.gz
A refinement of change 232351 to avoid a race with a forcible unmount.
While we have a snapshot vnode unlocked to avoid a deadlock with another inode in the same inode block being updated, the filesystem containing it may be forcibly unmounted. When that happens the snapshot vnode is revoked. We need to check for that condition and fail appropriately. This change will be included along with 232351 when it is MFC'ed to 9. Spotted by: kib Reviewed by: kib
Diffstat (limited to 'lib/libc/stdlib/qsort.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud