]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
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)
commitfbf64b3df34e6640fbbc89d6daa5f79833036890
treecb50ece1759e62074f200e31b03519bc4e917fd2
parent8a2fdd4a49d40017b3fca42beb2e1c8c0174a743
xfs: Remove some useless flags tests

'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