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

git: DragonFly_RELEASE_2_4 HAMMER - Fix root inode creation for slave.


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 2 Oct 2009 09:15:09 -0700 (PDT)

commit ec61b2892719413e2fd52a677fc9a1d05d09d59a
Author: Matthew Dillon <dillon@apollo.backplane.com>
Date:   Fri Oct 2 09:11:44 2009 -0700

    HAMMER - Fix root inode creation for slave.
    
    * The root inode for a PFS is only supposed to be created for PFS masters.
      PFS slaves get their root inode from the mirroring operation.  No longer
      create the root inode for a PFS slave.
    
      The root inode was being incorrectly created for slaves as well as
      masters, causing the root inode from the mirroring operation to be
      ignored.
    
      This caused the root directory for a slave to show up as empty when
      doing a mirror-copy from a HAMMER version 1 filesystem to a HAMMER
      version 2 filesystem.
    
    Reported-by:  "Simon 'corecode' Schubert" <corecode@fs.ei.tum.de>

Summary of changes:
 sys/vfs/hammer/hammer_mirror.c |    4 ----
 sys/vfs/hammer/hammer_pfs.c    |    7 ++++++-
 2 files changed, 6 insertions(+), 5 deletions(-)

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


-- 
DragonFly BSD source repository



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