diff options
author | Yaowei Bai <baiyaowei@cmss.chinamobile.com> | 2015-11-19 14:00:11 +0100 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2015-12-07 03:17:14 +0100 |
commit | 0e3ef1fe453c9f29c30d040cd2559c5cac724e93 (patch) | |
tree | 5a54de70fac4317062a499422a5a5f91455cab95 /include | |
parent | fs/dcache.c: is_subdir can be boolean (diff) | |
download | linux-0e3ef1fe453c9f29c30d040cd2559c5cac724e93.tar.xz linux-0e3ef1fe453c9f29c30d040cd2559c5cac724e93.zip |
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>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/fs.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/fs.h b/include/linux/fs.h index 4b23def18aa9..6b33ac447612 100644 --- a/include/linux/fs.h +++ b/include/linux/fs.h @@ -2371,7 +2371,7 @@ extern void init_special_inode(struct inode *, umode_t, dev_t); /* Invalid inode operations -- fs/bad_inode.c */ extern void make_bad_inode(struct inode *); -extern int is_bad_inode(struct inode *); +extern bool is_bad_inode(struct inode *); #ifdef CONFIG_BLOCK /* |