xfs: Remove some useless flags tests
authorJan Kara <jack@suse.cz>
Wed, 8 Oct 2014 09:52:52 +0000 (11:52 +0200)
committerJan Kara <jack@suse.cz>
Wed, 21 Jan 2015 18:21:32 +0000 (19:21 +0100)
'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.

Reviewed-by: Brian Foster <bfoster@redhat.com>
Signed-off-by: Jan Kara <jack@suse.cz>
fs/xfs/xfs_qm_syscalls.c

Simple merge