git: VFS accounting: do not call initialization functions directly

Francois Tigeot ftigeot at crater.dragonflybsd.org
Sun Apr 15 12:59:13 PDT 2012


commit 75a5a59232f4f73b89d6f99cb3f0d706d8c500f9
Author: Francois Tigeot <ftigeot at wolfpond.org>
Date:   Sun Apr 15 21:31:39 2012 +0200

    VFS accounting: do not call initialization functions directly
    
    * Use a macro to check if VFS accounting is enabled and they have been
      properly enabled for this mount point first
    
    * Change the return type of vfs_acdone() to void. This function does
      not return errors and should not make a filesystem unmount fail.

Summary of changes:
 sys/kern/vfs_default.c |    5 ++---
 sys/kern/vfs_vfsops.c  |   12 +++++-------
 sys/sys/mount.h        |    8 +++++++-
 3 files changed, 14 insertions(+), 11 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/75a5a59232f4f73b89d6f99cb3f0d706d8c500f9


-- 
DragonFly BSD source repository





More information about the Commits mailing list