xfs
[Top] [All Lists]

Re: [patch] Don't change ctime in truncate is size does not change

To: Christoph Hellwig <hch@xxxxxxxxxxxxx>
Subject: Re: [patch] Don't change ctime in truncate is size does not change
From: David Chinner <dgc@xxxxxxx>
Date: Fri, 22 Feb 2008 09:50:13 +1100
Cc: David Chinner <dgc@xxxxxxx>, xfs-dev <xfs-dev@xxxxxxx>, xfs-oss <xfs@xxxxxxxxxxx>
In-reply-to: <20080220232615.GA25493@xxxxxxxxxxxxx>
References: <20080218233251.GV155407@xxxxxxx> <20080220232615.GA25493@xxxxxxxxxxxxx>
Sender: xfs-bounce@xxxxxxxxxxx
User-agent: Mutt/1.4.2.1i
On Wed, Feb 20, 2008 at 06:26:15PM -0500, Christoph Hellwig wrote:
> > +           if (vap->va_size != ip->i_size || mask & XFS_AT_CTIME)
> 
> Normal Linux style is to always have braces around the 'foo & bar'
> statements to avoid operator precedance problems when re-ordering the
> statements.  Otherwise this one looks good.

Fixed up. Thank's for the review.

Cheers,

Dave.
-- 
Dave Chinner
Principal Engineer
SGI Australian Software Group


<Prev in Thread] Current Thread [Next in Thread>