diff options
author | jhb <jhb@FreeBSD.org> | 2016-08-05 22:23:04 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2016-08-05 22:23:04 +0000 |
commit | 24d92a35f6ff0538d34daa21fe14ce065cc89832 (patch) | |
tree | ef5006b276ca91c8e64af9368efd22886e6456d8 /lib/libc/stdio/tmpnam.c | |
parent | 23398987b845e3ef398f5d3bc4a56b64fbe2a4e3 (diff) | |
download | FreeBSD-src-24d92a35f6ff0538d34daa21fe14ce065cc89832.zip FreeBSD-src-24d92a35f6ff0538d34daa21fe14ce065cc89832.tar.gz |
MFC 303406,303501: Fix panic when using aio_fsync().
303406:
Adjust tests in fsync job scheduling loop to reduce indentation.
303501:
Fix locking issues with aio_fsync().
- Use correct lock in aio_cancel_sync when dequeueing job.
- Add _locked variants of aio_set/clear_cancel_function and use those
to avoid lock recursion when adding and removing fsync jobs to the
per-process sync queue.
- While here, add a basic test for aio_fsync().
PR: 211390
Approved by: re (kib)
Diffstat (limited to 'lib/libc/stdio/tmpnam.c')
0 files changed, 0 insertions, 0 deletions