git: HAMMER Util - Refactor mount list scan and other fixes
Matthew Dillon
dillon at crater.dragonflybsd.org
Wed Aug 19 08:32:59 PDT 2009
commit eac446c50abe1405a40b6ff5eb347bcae6464101
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date: Wed Aug 19 08:30:38 2009 -0700
HAMMER Util - Refactor mount list scan and other fixes
* MOUNTCTL - Fix a problem with user mount flags parsing in HAMMER.
* User mount flags for HAMMER FS was not properly handled. Now
function vfs_flagstostr() is able to append to the passed buf.
* Refactor the mountlist scan for info / cleanup commands.
Submitted-by: Antonio Huete Jimenez <tuxillo at quantumachine.net>
Summary of changes:
sbin/hammer/cmd_cleanup.c | 49 +++++++++++++++++---------------------
sbin/hammer/cmd_info.c | 53 +++++++++++++++++-----------------------
sbin/hammer/hammer.c | 2 +-
sbin/hammer/hammer.h | 2 +-
sys/kern/vfs_subr.c | 20 ++++++++++++---
sys/vfs/hammer/hammer_vnops.c | 14 +----------
6 files changed, 64 insertions(+), 76 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/eac446c50abe1405a40b6ff5eb347bcae6464101
--
DragonFly BSD source repository
More information about the Commits
mailing list