OSDN Git Service

tty/sysrq: emergency_thaw_all does not depend on CONFIG_BLOCK
authorChristoph Hellwig <hch@lst.de>
Sat, 20 Jun 2020 07:16:35 +0000 (09:16 +0200)
committerJens Axboe <axboe@kernel.dk>
Wed, 24 Jun 2020 15:16:02 +0000 (09:16 -0600)
commitb818f09e46f9f6a66471f81bf83094ff0a477d0c
tree42131aebadb03c68a25dafed2b1eefaa2009a2be
parent7a804c34c2db9e550c6f504f06a6a5cac7a44758
tty/sysrq: emergency_thaw_all does not depend on CONFIG_BLOCK

We can also thaw non-block file systems.  Remove the CONFIG_BLOCK in
sysrq.c after making the prototype available unconditionally.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/tty/sysrq.c
include/linux/fs.h