Ian Kent 3d9d60d9ad xfs: dont use XFS_IS_QUOTA_RUNNING() for option check
When CONFIG_XFS_QUOTA is not defined any quota option is invalid.

Using the macro XFS_IS_QUOTA_RUNNING() as a check if any quota option
has been given is a little misleading so use a simple m_qflags != 0
check to make the intended use more explicit.

Also change to use the IS_ENABLED() macro for the kernel config check.

Signed-off-by: Ian Kent <raven@themaw.net>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
2019-11-05 08:28:25 -08:00
..
2019-11-04 13:55:54 -08:00
2019-08-26 17:43:15 -07:00
2019-08-26 17:43:15 -07:00
2018-06-06 14:17:53 -07:00
2019-11-04 13:55:54 -08:00
2018-06-06 14:17:53 -07:00
2019-10-28 08:37:54 -07:00
2019-10-28 08:37:54 -07:00
2019-10-29 09:50:12 -07:00
2019-10-28 08:37:54 -07:00
2019-06-28 19:30:43 -07:00
2019-11-04 13:55:54 -08:00
2019-06-28 19:30:43 -07:00
2018-06-06 14:17:53 -07:00
2018-06-06 14:17:53 -07:00
2019-06-28 19:30:43 -07:00
2019-11-04 13:55:54 -08:00
2019-11-04 13:55:54 -08:00
2018-06-06 14:17:53 -07:00
2019-10-21 09:04:58 -07:00
2019-07-03 08:21:58 -07:00
2019-07-03 08:21:58 -07:00
2019-06-28 19:30:43 -07:00
2019-11-04 13:55:54 -08:00
2019-04-23 08:36:23 -07:00
2019-06-28 19:30:43 -07:00
2019-06-28 19:30:43 -07:00
2019-06-28 19:30:43 -07:00
2018-06-06 14:17:53 -07:00
2019-06-28 19:30:43 -07:00