diff options
| author | Pawel Jakub Dawidek <pjd@FreeBSD.org> | 2012-11-30 22:52:35 +0000 |
|---|---|---|
| committer | Pawel Jakub Dawidek <pjd@FreeBSD.org> | 2012-11-30 22:52:35 +0000 |
| commit | 9658c0582e46db9627a761d134c7404e550e613e (patch) | |
| tree | 56c38a8296cb46214f314d20bd59fb05612113fc /sys/security | |
| parent | e1216d1335e35c026a825d00bd4ef4087b970809 (diff) | |
Notes
Diffstat (limited to 'sys/security')
| -rw-r--r-- | sys/security/audit/audit_worker.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/security/audit/audit_worker.c b/sys/security/audit/audit_worker.c index d21ae181c3fe..6247e4971f8d 100644 --- a/sys/security/audit/audit_worker.c +++ b/sys/security/audit/audit_worker.c @@ -133,7 +133,7 @@ audit_record_write(struct vnode *vp, struct ucred *cred, void *data, error = VFS_STATFS(vp->v_mount, mnt_stat); if (error) goto fail; - vn_lock(vp, LK_EXCLUSIVE | LK_RETRY); + vn_lock(vp, LK_SHARED | LK_RETRY); error = VOP_GETATTR(vp, &vattr, cred); VOP_UNLOCK(vp, 0); if (error) |
