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

Dave Chinner david at fromorbit.com
Tue Nov 11 17:26:34 CST 2014


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 at suse.cz>

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

Cheers,

Dave.
-- 
Dave Chinner
david at fromorbit.com



More information about the xfs mailing list