diff options
Diffstat (limited to 'fs/xfs/xfs_bmap.c')
-rw-r--r-- | fs/xfs/xfs_bmap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/xfs/xfs_bmap.c b/fs/xfs/xfs_bmap.c index 51e07e7a0092..6c2d89eedb83 100644 --- a/fs/xfs/xfs_bmap.c +++ b/fs/xfs/xfs_bmap.c | |||
@@ -1148,8 +1148,8 @@ xfs_bmap_add_attrfork( | |||
1148 | blks = XFS_ADDAFORK_SPACE_RES(mp); | 1148 | blks = XFS_ADDAFORK_SPACE_RES(mp); |
1149 | if (rsvd) | 1149 | if (rsvd) |
1150 | tp->t_flags |= XFS_TRANS_RESERVE; | 1150 | tp->t_flags |= XFS_TRANS_RESERVE; |
1151 | if ((error = xfs_trans_reserve(tp, blks, XFS_ADDAFORK_LOG_RES(mp), 0, | 1151 | error = xfs_trans_reserve(tp, &M_RES(mp)->tr_addafork, blks, 0); |
1152 | XFS_TRANS_PERM_LOG_RES, XFS_ADDAFORK_LOG_COUNT))) | 1152 | if (error) |
1153 | goto error0; | 1153 | goto error0; |
1154 | xfs_ilock(ip, XFS_ILOCK_EXCL); | 1154 | xfs_ilock(ip, XFS_ILOCK_EXCL); |
1155 | error = xfs_trans_reserve_quota_nblks(tp, ip, blks, 0, rsvd ? | 1155 | error = xfs_trans_reserve_quota_nblks(tp, ip, blks, 0, rsvd ? |