DragonFly BSD
DragonFly commits List (threaded) for 2011-10
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

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


From: Sascha Wildner <swildner@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 10 Oct 2011 13:43:19 -0700 (PDT)

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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]