DragonFly-2.3.0.329.g0640c master sys/vfs/msdosfs msdosfs_denode.c msdosfs_lookup.c

Nicolas Thery nth at crater.dragonflybsd.org
Sat Feb 28 09:37:34 PST 2009


commit 0640c40432b3d9c21bb2fcde9b4e7e3b2816fa7c
Author: Nicolas Thery <nthery at gmail.com>
Date:   Sat Feb 28 18:32:49 2009 +0100

    msdosfs: clean up reference counting
    
    For consistency and robustness, always test de_refcnt with > 0 or <= 0.
    
    Also assert that de_refcnt is > 0 when deleting file.

Summary of changes:
 sys/vfs/msdosfs/msdosfs_denode.c |    4 ++--
 sys/vfs/msdosfs/msdosfs_lookup.c |    3 ++-
 2 files changed, 4 insertions(+), 3 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/0640c40432b3d9c21bb2fcde9b4e7e3b2816fa7c


-- 
DragonFly BSD source repository





More information about the Commits mailing list