DragonFly commits List (threaded) for 2011-12
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
git: kernel - Fix lost lock in devfs
commit 495d3a1efd4f8832641e3489717539bbe8d72ebe
Author: Matthew Dillon <dillon@apollo.backplane.com>
Date: Thu Dec 1 15:22:44 2011 -0800
kernel - Fix lost lock in devfs
* vn_lock() will always fail if a vnode is undergoing reclamation, do
not try to unlock/relock in the spec_close code in that case.
* Refactor the error test in devfs_allocv() in case vget() returns
an error other than ENOENT in the future.
Summary of changes:
sys/vfs/devfs/devfs_core.c | 6 +++++-
sys/vfs/devfs/devfs_vnops.c | 17 +++++++++++++----
2 files changed, 18 insertions(+), 5 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/495d3a1efd4f8832641e3489717539bbe8d72ebe
--
DragonFly BSD source repository
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]