From 7e26e9ff0a9301398bd7cf8d896536da3a54aa9a Mon Sep 17 00:00:00 2001 From: Geliang Tang Date: Thu, 22 Oct 2015 01:02:33 -0700 Subject: pstore: Fix return type of pstore_is_mounted() This patch changes return type of pstore_is_mounted from int to bool. Signed-off-by: Geliang Tang Acked-by: Kees Cook Signed-off-by: Tony Luck --- fs/pstore/inode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'fs/pstore/inode.c') diff --git a/fs/pstore/inode.c b/fs/pstore/inode.c index 3586491f26ba..d8c439d813ce 100644 --- a/fs/pstore/inode.c +++ b/fs/pstore/inode.c @@ -288,7 +288,7 @@ static const struct super_operations pstore_ops = { static struct super_block *pstore_sb; -int pstore_is_mounted(void) +bool pstore_is_mounted(void) { return pstore_sb != NULL; } -- cgit v1.2.3-55-g7522