fs/block_dev.c: make sb_is_blkdev_sb return bool when CONFIG_BLOCK undefined
authorYaowei Bai <baiyaowei@cmss.chinamobile.com>
Tue, 17 Nov 2015 06:40:09 +0000 (14:40 +0800)
committerAl Viro <viro@zeniv.linux.org.uk>
Mon, 7 Dec 2015 02:17:12 +0000 (21:17 -0500)
commit3e004eea56b4f2cb6768ebe9000c830eda0c71b1
tree1463012966d7585d432ad26230beeb2c0c1fa880
parent42a561e56fb9b581a4adb89efe54a387e3d4dc1b
fs/block_dev.c: make sb_is_blkdev_sb return bool when CONFIG_BLOCK undefined

Currently when CONFIG_BLOCK is defined sb_is_blkdev_sb returns bool,
while when CONFIG_BLOCK is not defined it returns int. Let's keep
consistent to make sb_is_blkdev_sb return bool as well when CONFIG_BLOCK
isn't defined.

No functional change.

Signed-off-by: Yaowei Bai <baiyaowei@cmss.chinamobile.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
include/linux/fs.h