commit | 3e004eea56b4f2cb6768ebe9000c830eda0c71b1 | [log] [tgz] |
---|---|---|
author | Yaowei Bai <baiyaowei@cmss.chinamobile.com> | Tue Nov 17 14:40:09 2015 +0800 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Sun Dec 06 21:17:12 2015 -0500 |
tree | 1463012966d7585d432ad26230beeb2c0c1fa880 | |
parent | 42a561e56fb9b581a4adb89efe54a387e3d4dc1b [diff] |
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>