The inode fork formats won't change with an unlink/link cycle, so
don't reset them for the rtgroup inodes in phase6.
Signed-off-by: Christoph Hellwig <hch@lst.de>
/* Reset the link count to something sane. */
set_nlink(VFS_I(upd.ip), 1);
- upd.ip->i_df.if_format = XFS_DINODE_FMT_RMAP;
libxfs_trans_log_inode(upd.tp, upd.ip, XFS_ILOG_CORE);
} else {
zap:
/* Reset the link count to something sane. */
set_nlink(VFS_I(upd.ip), 1);
- upd.ip->i_df.if_format = XFS_DINODE_FMT_REFCOUNT;
libxfs_trans_log_inode(upd.tp, upd.ip, XFS_ILOG_CORE);
} else {
zap: