diff options
author | Christoph Hellwig <hch@infradead.org> | 2011-09-26 05:14:34 -0400 |
---|---|---|
committer | Alex Elder <aelder@sgi.com> | 2011-10-11 22:15:08 -0400 |
commit | 815cb21662b914e1e14c256a3d662b1352c8509e (patch) | |
tree | 7e87f3d4c01a2869e2b5e438a688827c33d6f5cc | |
parent | c029a50d51b8a9520105ec903639de03389915d0 (diff) |
xfs: XFS_TRANS_SWAPEXT is not a valid flag for xfs_trans_commit
XFS_TRANS_SWAPEXT is a transaction type, not a flag for xfs_trans_commit, so
don't pass it in xfs_swap_extents.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Alex Elder <aelder@sgi.com>
-rw-r--r-- | fs/xfs/xfs_dfrag.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/xfs_dfrag.c b/fs/xfs/xfs_dfrag.c index 9a84a85c03b1..645387b69738 100644 --- a/fs/xfs/xfs_dfrag.c +++ b/fs/xfs/xfs_dfrag.c | |||
@@ -438,7 +438,7 @@ xfs_swap_extents( | |||
438 | if (mp->m_flags & XFS_MOUNT_WSYNC) | 438 | if (mp->m_flags & XFS_MOUNT_WSYNC) |
439 | xfs_trans_set_sync(tp); | 439 | xfs_trans_set_sync(tp); |
440 | 440 | ||
441 | error = xfs_trans_commit(tp, XFS_TRANS_SWAPEXT); | 441 | error = xfs_trans_commit(tp, 0); |
442 | 442 | ||
443 | trace_xfs_swap_extent_after(ip, 0); | 443 | trace_xfs_swap_extent_after(ip, 0); |
444 | trace_xfs_swap_extent_after(tip, 1); | 444 | trace_xfs_swap_extent_after(tip, 1); |