Re: [PATCH 03/11] xfs: Remove some useless flags tests

Dave Chinner
2014-11-11T23:26:41Z

On Tue, Nov 11, 2014 at 10:04:17PM +0100, Jan Kara wrote:
> 'flags' have XFS_ALL_QUOTA_ACCT cleared immediately on function entry.
> There's no point in checking these bits later in the function. Also
> because we check something is going to change, we know some enforcement
> bits are being added and thus there's no point in testing that later.
>
> Signed-off-by: Jan Kara <jack@suse.cz>

Looks sane. I'll pick this up straight away.

Cheers,

Dave.
--
Dave Chinner
david@fromorbit.com