]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit669eb60e2cc0eb8603b97b47f0dbd65a8742868f
tree63c375b5ae4d4a14158ea9b1f20b1d61b0f33929
parent294f97242cb97a2186642f84ccbeceafe73306b6
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