ext2: remove redundant building macro check
authorChengguang Xu <cgxu519@gmx.com>
Mon, 24 Sep 2018 06:10:15 +0000 (14:10 +0800)
committerJan Kara <jack@suse.cz>
Mon, 24 Sep 2018 19:34:15 +0000 (21:34 +0200)
commit2aad26fa0a3de74b9c773bc8cb868892f099ccc7
tree7a37e025468a464b7300069c3eef47b54e712317
parent1abefb02749f2a39b8020a1d95f7101f2d91e646
ext2: remove redundant building macro check

If macro CONFIG_QUOTA is not enabled then mount option flag
of usrquota/grpquota will not be set, so we can remove some
building macro check safely in ext2_shwo_options().
Additionally, I think it's better to define EXT2_MOUNT_DAX
regardless macro CONFIG_FS_DAX is enabled just like acl/xattr.

Signed-off-by: Chengguang Xu <cgxu519@gmx.com>
Signed-off-by: Jan Kara <jack@suse.cz>
fs/ext2/ext2.h
fs/ext2/super.c