f2fs: restrict inline_xattr_size configuration
authorChao Yu <yuchao0@huawei.com>
Sat, 27 Jan 2018 09:29:48 +0000 (17:29 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Sun, 8 Apr 2018 11:07:44 +0000 (04:07 -0700)
commit5c1d55c37f2c88cafe0d1c25b58f23196def8f70
tree8bb6c9d881f35f9610d8bce792c656dc778aa20a
parent74d48dc6ec93223185583db1ddc43edf1e6d3c84
f2fs: restrict inline_xattr_size configuration

This patch limits to enable inline_xattr_size mount option only if
both extra_attr and flexible_inline_xattr feature is on in current
image.

Signed-off-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/super.c