git: hammer2 - Refactor frontend part 14/many

Matthew Dillon dillon at crater.dragonflybsd.org
Fri Jun 26 19:16:33 PDT 2015


commit e12ae3a59f03333cd0ce1dc645dd4719c32592b1
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Fri Jun 26 19:12:26 2015 -0700

    hammer2 - Refactor frontend part 14/many
    
    * Implement nlink, nremove, nrmdir, and nrename.
    
      The hardlink handling in nlink and nremove were the most difficult
      here, but the resulting design is actually cleaner than the complex
      do-everything routines I had before.
    
    * Remove the old hardlink handling clutter in the inode and cluster code.

Summary of changes:
 sys/vfs/hammer2/hammer2.h         |  69 +++-
 sys/vfs/hammer2/hammer2_chain.c   | 310 +-----------------
 sys/vfs/hammer2/hammer2_cluster.c | 388 +---------------------
 sys/vfs/hammer2/hammer2_inode.c   | 668 ++++++++++++--------------------------
 sys/vfs/hammer2/hammer2_ioctl.c   |  29 +-
 sys/vfs/hammer2/hammer2_thread.c  |  44 +++
 sys/vfs/hammer2/hammer2_vnops.c   | 405 ++++++++++++++---------
 sys/vfs/hammer2/hammer2_xops.c    | 448 ++++++++++++++++++++++++-
 8 files changed, 1036 insertions(+), 1325 deletions(-)

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


-- 
DragonFly BSD source repository



More information about the Commits mailing list