summaryrefslogtreecommitdiffstats
path: root/contrib/llvm/lib/CodeGen/ProcessImplicitDefs.cpp
diff options
context:
space:
mode:
authorkib <kib@FreeBSD.org>2016-01-16 10:06:33 +0000
committerkib <kib@FreeBSD.org>2016-01-16 10:06:33 +0000
commit5c5d8c09acd7bbc84ca42b011222ef403d0cd1a7 (patch)
tree85610e11e809f4c01fccb4dc204496c013dcc83f /contrib/llvm/lib/CodeGen/ProcessImplicitDefs.cpp
parentb86d0142720eab206866233a5c1ae54a304f5545 (diff)
downloadFreeBSD-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
OpenPOWER on IntegriCloud