summaryrefslogtreecommitdiffstats
path: root/fs/pstore/inode.c
diff options
context:
space:
mode:
authorGeliang Tang <geliangtang@163.com>2015-10-22 10:02:33 +0200
committerTony Luck <tony.luck@intel.com>2015-10-22 19:57:33 +0200
commit7e26e9ff0a9301398bd7cf8d896536da3a54aa9a (patch)
tree3f79d63e4eb8c8a4e72f5667533c423672940332 /fs/pstore/inode.c
parentpstore: add pstore unregister (diff)
downloadlinux-7e26e9ff0a9301398bd7cf8d896536da3a54aa9a.tar.xz
linux-7e26e9ff0a9301398bd7cf8d896536da3a54aa9a.zip
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 <geliangtang@163.com> Acked-by: Kees Cook <keescook@chromium.org> Signed-off-by: Tony Luck <tony.luck@intel.com>
Diffstat (limited to 'fs/pstore/inode.c')
-rw-r--r--fs/pstore/inode.c2
1 files changed, 1 insertions, 1 deletions
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;
}