diff options
author | Jan Kara <jack@suse.cz> | 2014-12-12 20:53:36 +0100 |
---|---|---|
committer | Jan Kara <jack@suse.cz> | 2015-01-21 19:21:33 +0100 |
commit | a39427007e7ccd83dbb7cd81b18156cebeab4d1e (patch) | |
tree | 19c01a46a6b488755ed7a35e8adeec7764424492 /drivers/gpu/drm/radeon/cik.c | |
parent | xfs: Remove some useless flags tests (diff) | |
download | linux-a39427007e7ccd83dbb7cd81b18156cebeab4d1e.tar.xz linux-a39427007e7ccd83dbb7cd81b18156cebeab4d1e.zip |
xfs: Remove some pointless quota checks
xfs_fs_get_xstate() and xfs_fs_get_xstatev() check whether there's quota
running before calling xfs_qm_scall_getqstat() or
xfs_qm_scall_getqstatv(). Thus we are certain that superblock supports
quota and xfs_sb_version_hasquota() check is pointless. Similarly we
know that when quota is running, mp->m_quotainfo will be allocated.
Reviewed-by: Brian Foster <bfoster@redhat.com>
Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'drivers/gpu/drm/radeon/cik.c')
0 files changed, 0 insertions, 0 deletions