VFS accounting: do not call initialization functions directly
authorFrancois Tigeot <ftigeot@wolfpond.org>
Sun, 15 Apr 2012 19:31:39 +0000 (21:31 +0200)
committerFrançois Tigeot <ftigeot@wolfpond.org>
Sun, 15 Apr 2012 19:42:02 +0000 (21:42 +0200)
commit75a5a59232f4f73b89d6f99cb3f0d706d8c500f9
treecf9fada57bd6d9822120e48c13552e86e59e3de2
parentec39d3a02f7de31a57d879e7cb6a0e3671379e2b
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.
sys/kern/vfs_default.c
sys/kern/vfs_vfsops.c
sys/sys/mount.h