git: kernel/ufs: Fix mount_point access in ffs_blkfree() when using softdep.

Sascha Wildner swildner at crater.dragonflybsd.org
Mon Oct 10 13:43:49 PDT 2011


commit efe855e1e1c712fefc8aa7279059bc7fc3a9f149
Author: Sascha Wildner <saw at 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 at 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





More information about the Commits mailing list