projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c029a50
)
xfs: XFS_TRANS_SWAPEXT is not a valid flag for xfs_trans_commit
author
Christoph Hellwig
<hch@infradead.org>
Mon, 26 Sep 2011 09:14:34 +0000
(09:14 +0000)
committer
Alex Elder
<aelder@sgi.com>
Wed, 12 Oct 2011 02:15:08 +0000
(21:15 -0500)
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>
fs/xfs/xfs_dfrag.c
patch
|
blob
|
history
diff --git
a/fs/xfs/xfs_dfrag.c
b/fs/xfs/xfs_dfrag.c
index 9a84a85c03b1d8df913ec98732cb61c64c840e9f..645387b697385e36d704d15ef340477c3393e2ae 100644
(file)
--- a/
fs/xfs/xfs_dfrag.c
+++ b/
fs/xfs/xfs_dfrag.c
@@
-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);