git: kernel/ufs: Fix mount_point access in ffs_blkfree() when us

看板DFBSD_commit作者時間14年前 (2011/10/22 18:03), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
commit efe855e1e1c712fefc8aa7279059bc7fc3a9f149 Author: Sascha Wildner <saw@online.de> Date: Mon Oct 10 22:42:55 2011 +0200 kernel/ufs: Fix mount_point access in ffs_blkfree() when using softdep. Was going through inode->vnode->v_mount, but vnode was bad so v_mount was NULL reference. New way to get mount point: inode->i_devvp->v_mount. Reported-by: Thomas Nikolajsen Dragonfly-bug: <http://bugs.dragonflybsd.org/issue2142> Submitted-by: Tim Bisson <bissont@mac.com> Summary of changes: sys/vfs/ufs/ffs_alloc.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/efe855e1e1c712fefc8aa7279059bc7fc3a9f149 -- DragonFly BSD source repository
文章代碼(AID): #1EefJpjF (DFBSD_commit)