staging: erofs: option validation in remount
authorChengguang Xu <cgxu519@gmx.com>
Wed, 19 Sep 2018 14:53:46 +0000 (22:53 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 20 Sep 2018 10:26:29 +0000 (12:26 +0200)
commitd41076eaebf47232e33e4a0fed511d0e816ecb7c
treed875657b987ee12185f8f0a8af3c45672b48f9c1
parent2ab3dd84c0a1a0a7fc5ef2d893fb2612086bc94f
staging: erofs: option validation in remount

Add option validation in remount. After this patch, remount
can change recognized options, and for unknown options remount
will fail and report error.

Signed-off-by: Chengguang Xu <cgxu519@gmx.com>
Reviewed-by: Chao Yu <yuchao0@huawei.com>
Reviewed-by: Gao Xiang <gaoxiang25@huawei.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/erofs/super.c