OSDN Git Service

block: simplify sb_is_blkdev_sb
authorChristoph Hellwig <hch@lst.de>
Sat, 20 Jun 2020 07:16:40 +0000 (09:16 +0200)
committerJens Axboe <axboe@kernel.dk>
Wed, 24 Jun 2020 15:16:02 +0000 (09:16 -0600)
commitdd0dca223e091bbacdd3c7ce9cf06b373da59816
tree63c375b5ae4d4a14158ea9b1f20b1d61b0f33929
parent75362a1792d16a61f0277d3610dea2f50a16bf3e
block: simplify sb_is_blkdev_sb

Just use IS_ENABLED instead of providing a stub for !CONFIG_BLOCK.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
include/linux/fs.h