|
@@ -100,6 +100,7 @@ xfs_trans_dup(
|
|
ntp->t_mountp = tp->t_mountp;
|
|
ntp->t_mountp = tp->t_mountp;
|
|
INIT_LIST_HEAD(&ntp->t_items);
|
|
INIT_LIST_HEAD(&ntp->t_items);
|
|
INIT_LIST_HEAD(&ntp->t_busy);
|
|
INIT_LIST_HEAD(&ntp->t_busy);
|
|
|
|
+ ntp->t_firstblock = NULLFSBLOCK;
|
|
|
|
|
|
ASSERT(tp->t_flags & XFS_TRANS_PERM_LOG_RES);
|
|
ASSERT(tp->t_flags & XFS_TRANS_PERM_LOG_RES);
|
|
ASSERT(tp->t_ticket != NULL);
|
|
ASSERT(tp->t_ticket != NULL);
|
|
@@ -273,6 +274,7 @@ xfs_trans_alloc(
|
|
tp->t_mountp = mp;
|
|
tp->t_mountp = mp;
|
|
INIT_LIST_HEAD(&tp->t_items);
|
|
INIT_LIST_HEAD(&tp->t_items);
|
|
INIT_LIST_HEAD(&tp->t_busy);
|
|
INIT_LIST_HEAD(&tp->t_busy);
|
|
|
|
+ tp->t_firstblock = NULLFSBLOCK;
|
|
|
|
|
|
error = xfs_trans_reserve(tp, resp, blocks, rtextents);
|
|
error = xfs_trans_reserve(tp, resp, blocks, rtextents);
|
|
if (error) {
|
|
if (error) {
|