xfs: XFS_TRANS_SWAPEXT is not a valid flag for xfs_trans_commit
PATCH 1/1 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 <[email protected]>
fs/xfs/xfs_dfrag.c +1 -1
@@ -438,7 +438,7 @@ xfs_swap_extents(if (mp->m_flags &XFS_MOUNT_WSYNC )xfs_trans_set_sync (tp); - error =xfs_trans_commit (tp,XFS_TRANS_SWAPEXT ); + error =xfs_trans_commit (tp,0 );trace_xfs_swap_extent_after (ip,0 );trace_xfs_swap_extent_after (tip,1 );
_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs
Quoted 4 lines · Christoph Hellwig
XFS_TRANS_SWAPEXTis a transaction type, not a flag forxfs_trans_commit, so don't pass it inxfs_swap_extents.Signed-off-by Christoph Hellwig <[email protected]>
Looks good.
Reviewed-by Alex Elder <[email protected]>
_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs