fs/bad_inode.c: is_bad_inode can be boolean
authorYaowei Bai <baiyaowei@cmss.chinamobile.com>
Thu, 19 Nov 2015 13:00:11 +0000 (21:00 +0800)
committerAl Viro <viro@zeniv.linux.org.uk>
Mon, 7 Dec 2015 02:17:14 +0000 (21:17 -0500)
commit0e3ef1fe453c9f29c30d040cd2559c5cac724e93
tree5a54de70fac4317062a499422a5a5f91455cab95
parenta6e5787fc8fc9c88290a7bceed07aa4d14029fa7
fs/bad_inode.c: is_bad_inode can be boolean

This patch makes is_bad_inode return bool to improve
readability due to this particular function only using either
one or zero as its return value.

No functional change.

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