Commit 2941a57b authored by Stephen Lord's avatar Stephen Lord Committed by Nathan Scott

[XFS] avoid need to remap pages when discarding attribute space

SGI Modid: 2.5.x-xfs:slinx:133408a
parent fd2ffccf
...@@ -2897,7 +2897,7 @@ xfs_attr_leaf_freextent(xfs_trans_t **trans, xfs_inode_t *dp, ...@@ -2897,7 +2897,7 @@ xfs_attr_leaf_freextent(xfs_trans_t **trans, xfs_inode_t *dp,
map.br_blockcount); map.br_blockcount);
bp = xfs_trans_get_buf(*trans, bp = xfs_trans_get_buf(*trans,
dp->i_mount->m_ddev_targp, dp->i_mount->m_ddev_targp,
dblkno, dblkcnt, 0); dblkno, dblkcnt, XFS_BUF_LOCK);
xfs_trans_binval(*trans, bp); xfs_trans_binval(*trans, bp);
/* /*
* Roll to next transaction. * Roll to next transaction.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment