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

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


From: Nicolas Thery <nth@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sat, 28 Feb 2009 09:36:19 -0800 (PST)

commit 0640c40432b3d9c21bb2fcde9b4e7e3b2816fa7c
Author: Nicolas Thery <nthery@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



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