From: Jan Kara Date: Fri, 12 Dec 2014 19:53:36 +0000 (+0100) Subject: xfs: Remove some pointless quota checks X-Git-Tag: fixes-v4.0-rc1~158^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a39427007e7ccd83dbb7cd81b18156cebeab4d1e;p=pandora-kernel.git 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 Signed-off-by: Jan Kara --- Reading git-diff-tree failed