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

git: kernel -- kref: Add KREF_DEC macro to allow braced blocks for destructors.


From: Venkatesh Srinivas <vsrinivas@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 10 Jan 2011 20:02:37 -0800 (PST)

commit cf327fd150eb3896ddcc879538589eb01a351d1f
Author: Venkatesh Srinivas <me@endeavour.zapto.org>
Date:   Mon Jan 10 20:01:02 2011 -0800

    kernel -- kref: Add KREF_DEC macro to allow braced blocks for destructors.
    
    Convert sfbuf to use braced blocks on unref.

Summary of changes:
 sys/kern/kern_sfbuf.c |   14 +++++---------
 sys/sys/ref.h         |    8 ++++++++
 2 files changed, 13 insertions(+), 9 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/cf327fd150eb3896ddcc879538589eb01a351d1f


-- 
DragonFly BSD source repository



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