summaryrefslogtreecommitdiff
path: root/fs/pstore/internal.h
diff options
context:
space:
mode:
authorGeliang Tang <geliangtang@163.com>2015-10-22 01:02:33 -0700
committerTony Luck <tony.luck@intel.com>2015-10-22 10:57:33 -0700
commit7e26e9ff0a9301398bd7cf8d896536da3a54aa9a (patch)
tree3f79d63e4eb8c8a4e72f5667533c423672940332 /fs/pstore/internal.h
parentee1d267423a1f8041e2b1a33fc23e4393c67677e (diff)
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/internal.h')
-rw-r--r--fs/pstore/internal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/pstore/internal.h b/fs/pstore/internal.h
index 96253c474ea5..e38a22b31282 100644
--- a/fs/pstore/internal.h
+++ b/fs/pstore/internal.h
@@ -63,6 +63,6 @@ extern int pstore_mkfile(enum pstore_type_id, char *psname, u64 id,
int count, char *data, bool compressed,
size_t size, struct timespec time,
struct pstore_info *psi);
-extern int pstore_is_mounted(void);
+extern bool pstore_is_mounted(void);
#endif