diff options
author | Dave Chinner <dchinner@redhat.com> | 2011-04-21 05:34:25 -0400 |
---|---|---|
committer | Alex Elder <aelder@sgi.com> | 2011-05-19 13:03:36 -0400 |
commit | e57375153d7376f2a923d98c388c1e20227b5731 (patch) | |
tree | 3370de2711d88a792d573b0234b645c57a7289e4 /fs/xfs | |
parent | 1beb65ad45f29fa1d53c13c6a20056a190ac9060 (diff) |
xfs: fix xfs_itruncate_start tracing
Variables are ordered incorrectly in trace call.
Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Alex Elder <aelder@sgi.com>
Diffstat (limited to 'fs/xfs')
-rw-r--r-- | fs/xfs/xfs_inode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/xfs_inode.c b/fs/xfs/xfs_inode.c index a37480a6e023..da46c0f55038 100644 --- a/fs/xfs/xfs_inode.c +++ b/fs/xfs/xfs_inode.c | |||
@@ -1354,7 +1354,7 @@ xfs_itruncate_start( | |||
1354 | return 0; | 1354 | return 0; |
1355 | } | 1355 | } |
1356 | last_byte = xfs_file_last_byte(ip); | 1356 | last_byte = xfs_file_last_byte(ip); |
1357 | trace_xfs_itruncate_start(ip, flags, new_size, toss_start, last_byte); | 1357 | trace_xfs_itruncate_start(ip, new_size, flags, toss_start, last_byte); |
1358 | if (last_byte > toss_start) { | 1358 | if (last_byte > toss_start) { |
1359 | if (flags & XFS_ITRUNC_DEFINITE) { | 1359 | if (flags & XFS_ITRUNC_DEFINITE) { |
1360 | xfs_tosspages(ip, toss_start, | 1360 | xfs_tosspages(ip, toss_start, |