From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from cuda.sgi.com (cuda1.sgi.com [192.48.157.11]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id p3L9Ux84149840 for ; Thu, 21 Apr 2011 04:31:00 -0500 Received: from ipmail06.adl6.internode.on.net (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 5A498132E346 for ; Thu, 21 Apr 2011 02:34:26 -0700 (PDT) Received: from ipmail06.adl6.internode.on.net (ipmail06.adl6.internode.on.net [150.101.137.145]) by cuda.sgi.com with ESMTP id 5ApxFWofVOAqh62L for ; Thu, 21 Apr 2011 02:34:26 -0700 (PDT) Received: from chute ([192.168.1.1] helo=disappointment) by dastard with esmtp (Exim 4.72) (envelope-from ) id 1QCqHG-0003Ue-9A for xfs@oss.sgi.com; Thu, 21 Apr 2011 19:34:22 +1000 Received: from dave by disappointment with local (Exim 4.75) (envelope-from ) id 1QCqHO-0003hO-PC for xfs@oss.sgi.com; Thu, 21 Apr 2011 19:34:30 +1000 From: Dave Chinner Subject: [PATCH 1/4] xfs: fix xfs_itruncate_start tracing Date: Thu, 21 Apr 2011 19:34:25 +1000 Message-Id: <1303378468-14163-2-git-send-email-david@fromorbit.com> In-Reply-To: <1303378468-14163-1-git-send-email-david@fromorbit.com> References: <1303378468-14163-1-git-send-email-david@fromorbit.com> List-Id: XFS Filesystem from SGI List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: xfs-bounces@oss.sgi.com Errors-To: xfs-bounces@oss.sgi.com To: xfs@oss.sgi.com From: Dave Chinner Variables are ordered incorrectly in trace call. Signed-off-by: Dave Chinner Reviewed-by: Christoph Hellwig --- 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 a37480a..da46c0f 100644 --- a/fs/xfs/xfs_inode.c +++ b/fs/xfs/xfs_inode.c @@ -1354,7 +1354,7 @@ xfs_itruncate_start( return 0; } 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 (flags & XFS_ITRUNC_DEFINITE) { xfs_tosspages(ip, toss_start, -- 1.7.4.4 _______________________________________________ xfs mailing list xfs@oss.sgi.com http://oss.sgi.com/mailman/listinfo/xfs