diff options
author | Dave Chinner <david@fromorbit.com> | 2015-01-22 01:51:30 +0300 |
---|---|---|
committer | Dave Chinner <david@fromorbit.com> | 2015-01-22 01:51:30 +0300 |
commit | 438c3c8d2bb910966db6fc4140e62d67b3c5f2a8 (patch) | |
tree | c44fbb5488a82a24b3d71c4fe19924c2dc97df0e /fs/xfs/xfs_inode.c | |
parent | 465e2def7cb45864da1f82afb973a6acd1046ed8 (diff) | |
parent | 3443a3bca54588f43286b725d8648d33a38c86f1 (diff) | |
download | linux-438c3c8d2bb910966db6fc4140e62d67b3c5f2a8.tar.xz |
Merge branch 'xfs-buf-type-fixes' into for-next
Diffstat (limited to 'fs/xfs/xfs_inode.c')
-rw-r--r-- | fs/xfs/xfs_inode.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/xfs/xfs_inode.c b/fs/xfs/xfs_inode.c index 9916aef60997..daafa1f6d260 100644 --- a/fs/xfs/xfs_inode.c +++ b/fs/xfs/xfs_inode.c @@ -1995,6 +1995,7 @@ xfs_iunlink( agi->agi_unlinked[bucket_index] = cpu_to_be32(agino); offset = offsetof(xfs_agi_t, agi_unlinked) + (sizeof(xfs_agino_t) * bucket_index); + xfs_trans_buf_set_type(tp, agibp, XFS_BLFT_AGI_BUF); xfs_trans_log_buf(tp, agibp, offset, (offset + sizeof(xfs_agino_t) - 1)); return 0; @@ -2086,6 +2087,7 @@ xfs_iunlink_remove( agi->agi_unlinked[bucket_index] = cpu_to_be32(next_agino); offset = offsetof(xfs_agi_t, agi_unlinked) + (sizeof(xfs_agino_t) * bucket_index); + xfs_trans_buf_set_type(tp, agibp, XFS_BLFT_AGI_BUF); xfs_trans_log_buf(tp, agibp, offset, (offset + sizeof(xfs_agino_t) - 1)); } else { |