Whamcloud - gitweb
missed i_gen
authorericm <ericm>
Wed, 21 Sep 2005 08:37:50 +0000 (08:37 +0000)
committerericm <ericm>
Wed, 21 Sep 2005 08:37:50 +0000 (08:37 +0000)
lustre/mds/mds_reint.c

index 7ae1ebf..0b30bc2 100644 (file)
@@ -686,6 +686,7 @@ static int mds_reint_setattr(struct mds_update_record *rec, int offset,
                         .lc_uid   = rec->ur_uc.luc_uid,
                         .lc_op    = CAPA_TRUNC,
                         .lc_ino   = inode->i_ino,
+                        .lc_igen  = inode->i_generation,
                         .lc_mdsid = mds->mds_num,
                 };
                 int offset = 1;