36 #ifdef XFS_TRANS_DEBUG
41 #define xfs_trans_inode_broot_debug(ip)
56 xfs_inode_log_item_t *iip;
58 ASSERT(xfs_isilocked(ip, XFS_ILOCK_EXCL));
59 if (ip->i_itemp ==
NULL)
63 ASSERT(iip->ili_lock_flags == 0);
89 ASSERT(xfs_isilocked(ip, XFS_ILOCK_EXCL));
94 !timespec_equal(&inode->
i_mtime, &tv)) {
96 ip->i_d.di_mtime.t_sec = tv.
tv_sec;
97 ip->i_d.di_mtime.t_nsec = tv.
tv_nsec;
100 !timespec_equal(&inode->
i_ctime, &tv)) {
102 ip->i_d.di_ctime.t_sec = tv.
tv_sec;
103 ip->i_d.di_ctime.t_nsec = tv.
tv_nsec;
123 ASSERT(xfs_isilocked(ip, XFS_ILOCK_EXCL));
135 flags |= ip->i_itemp->ili_last_fields;
136 ip->i_itemp->ili_fields |=
flags;
139 #ifdef XFS_TRANS_DEBUG
148 xfs_inode_log_item_t *iip;
152 if (iip->ili_root_size != 0) {
155 iip->ili_root_size = 0;
156 iip->ili_orig_root =
NULL;
160 (ip->i_df.if_broot_bytes > 0));
161 iip->ili_root_size = ip->i_df.if_broot_bytes;
164 memcpy(iip->ili_orig_root, (
char*)(ip->i_df.if_broot),