diff options
author | kib <kib@FreeBSD.org> | 2016-01-16 10:06:33 +0000 |
---|---|---|
committer | kib <kib@FreeBSD.org> | 2016-01-16 10:06:33 +0000 |
commit | 5c5d8c09acd7bbc84ca42b011222ef403d0cd1a7 (patch) | |
tree | 85610e11e809f4c01fccb4dc204496c013dcc83f /contrib/llvm/lib/CodeGen/ProcessImplicitDefs.cpp | |
parent | b86d0142720eab206866233a5c1ae54a304f5545 (diff) | |
download | FreeBSD-src-5c5d8c09acd7bbc84ca42b011222ef403d0cd1a7.zip FreeBSD-src-5c5d8c09acd7bbc84ca42b011222ef403d0cd1a7.tar.gz |
Busy the mount point which is the owner of the audit vnode, around
audit_record_write(). This is important so that VFS_STATFS() is not
done on the NULL or freed mp and the check for free space is
consistent with the vnode used for write.
Add vn_start_write() braces around VOP_FSYNC() calls on the audit vnode.
Move repeated code to fsync vnode and panic to the helper
audit_worker_sync_vp().
Reviewed by: rwatson
Tested by: pho
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Diffstat (limited to 'contrib/llvm/lib/CodeGen/ProcessImplicitDefs.cpp')
0 files changed, 0 insertions, 0 deletions