ext2: add warning when specifying nocheck option
authorChengguang Xu <cgxu519@gmx.com>
Fri, 8 Jun 2018 02:53:40 +0000 (10:53 +0800)
committerJan Kara <jack@suse.cz>
Wed, 20 Jun 2018 09:04:26 +0000 (11:04 +0200)
commit27e6ed54a30a00d6520ddb4518214df8ff99daf1
tree7938dfbd76d0b1a6218ad1b89bc9a4b28f6b244b
parent1822193b5d4fd5d9800e6a7ed141375b8e8e68eb
ext2: add warning when specifying nocheck option

The option nocheck(nocheck/check=none) is useless but considering
backwards compatibility it's better to print warning for a while
before completely remove from the code.

This patch add proper warning message for option 'nocheck' and
remove unnecessary comment/function declaration which is used for
removed option 'check'.

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