Commit e5737515 authored by Dave Chinner's avatar Dave Chinner Committed by Alex Elder

xfs: fix xfs_itruncate_start tracing

Variables are ordered incorrectly in trace call.
Signed-off-by: default avatarDave Chinner <dchinner@redhat.com>
Reviewed-by: default avatarChristoph Hellwig <hch@lst.de>
Signed-off-by: default avatarAlex Elder <aelder@sgi.com>
parent 1beb65ad
...@@ -1354,7 +1354,7 @@ xfs_itruncate_start( ...@@ -1354,7 +1354,7 @@ xfs_itruncate_start(
return 0; return 0;
} }
last_byte = xfs_file_last_byte(ip); last_byte = xfs_file_last_byte(ip);
trace_xfs_itruncate_start(ip, flags, new_size, toss_start, last_byte); trace_xfs_itruncate_start(ip, new_size, flags, toss_start, last_byte);
if (last_byte > toss_start) { if (last_byte > toss_start) {
if (flags & XFS_ITRUNC_DEFINITE) { if (flags & XFS_ITRUNC_DEFINITE) {
xfs_tosspages(ip, toss_start, xfs_tosspages(ip, toss_start,
......
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