projects
/
dragonfly.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
e19707d
)
kernel - Remove double unlock in elf core dumping code
author
Matthew Dillon <dillon@apollo.backplane.com>
Thu, 1 Dec 2011 23:19:09 +0000 (15:19 -0800)
committer
Matthew Dillon <dillon@apollo.backplane.com>
Thu, 1 Dec 2011 23:19:09 +0000 (15:19 -0800)
* Remove a double vnode unlock in the elf core dumping code. vn_unlock()
ignored double unlocks before but soon won't.
sys/kern/imgact_elf.c
patch
|
blob
|
blame
|
history
diff --git
a/sys/kern/imgact_elf.c
b/sys/kern/imgact_elf.c
index
243e1d7
..
4c84950
100644
(file)
--- a/
sys/kern/imgact_elf.c
+++ b/
sys/kern/imgact_elf.c
@@
-966,7
+966,6
@@
__elfN(coredump)(struct lwp *lp, int sig, struct vnode *vp, off_t limit)
fp->f_flag = O_CREAT|O_WRONLY|O_NOFOLLOW;
fp->f_ops = &vnode_fileops;
fp->f_data = vp;
- vn_unlock(vp);
error = generic_elf_coredump(lp, sig, fp, limit);