git: kernel - Fix lost lock in devfs

看板DFBSD_commit作者時間14年前 (2011/12/28 02:04), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
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
文章代碼(AID): #1E-WYpQ0 (DFBSD_commit)