]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitffad6da3914da016a1d05e24011e7db14f3d8da5
tree7a37e025468a464b7300069c3eef47b54e712317
parentd730f6ec66265fbe57fffd47d52437ad53c6e850
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