]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0ba8203fa78bda027d23fd5118e550588f49f326
tree7938dfbd76d0b1a6218ad1b89bc9a4b28f6b244b
parentc8bbae62c43284fcd955fd1011ac613b937c0659
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