summaryrefslogtreecommitdiffstats
path: root/contrib/libarchive/libarchive/archive_write_set_format_pax.c
diff options
context:
space:
mode:
authoravg <avg@FreeBSD.org>2011-12-21 10:52:17 +0000
committeravg <avg@FreeBSD.org>2011-12-21 10:52:17 +0000
commit1978c13acfb0ee99028517bffc774c1db12b112d (patch)
treeefdaccce16c9ddf61a6f94944b8e2ec7307bdb50 /contrib/libarchive/libarchive/archive_write_set_format_pax.c
parentd26d94695993e318a8fa7ccaefdf7c8c9022ad8d (diff)
downloadFreeBSD-src-1978c13acfb0ee99028517bffc774c1db12b112d.zip
FreeBSD-src-1978c13acfb0ee99028517bffc774c1db12b112d.tar.gz
adapt usb transfer code for SCHEDULER_STOPPED
When SCHEDULER_STOPPED() is true the mtx_owned() call may return an unexpected and thus meaningless result. So, in the code paths that can be reached when SCHEDULER_STOPPED() is true we need to protect the mtx_owned() calls with the SCHEDULER_STOPPED() checks and ensure that an appropriate branch is taken in each case. Reviewed by: hselasky MFC after: 3 months X-MFC after: r228424
Diffstat (limited to 'contrib/libarchive/libarchive/archive_write_set_format_pax.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud