summaryrefslogtreecommitdiff
path: root/fs/pstore/internal.h
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2017-07-05 18:24:34 +0300
committerAl Viro <viro@zeniv.linux.org.uk>2017-07-06 10:31:46 +0300
commit349d743895e2371bda9a02a5b465b50cc24d2825 (patch)
tree5a9ff4a63bf70603842b00e079b4fe6f25451e01 /fs/pstore/internal.h
parentd86efb0df98afe0acdda7ed94963684c3fa7cccd (diff)
downloadlinux-349d743895e2371bda9a02a5b465b50cc24d2825.tar.xz
pstore: Implement show_options
Implement the show_options superblock op for pstore as part of a bid to get rid of s_options and generic_show_options() to make it easier to implement a context-based mount where the mount options can be passed individually over a file descriptor. Signed-off-by: David Howells <dhowells@redhat.com> cc: Kees Cook <keescook@chromium.org> cc: Anton Vorontsov <anton@enomsg.org> cc: Colin Cross <ccross@android.com> cc: Tony Luck <tony.luck@intel.com> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/pstore/internal.h')
-rw-r--r--fs/pstore/internal.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/pstore/internal.h b/fs/pstore/internal.h
index c416e653dc4f..4d5913130580 100644
--- a/fs/pstore/internal.h
+++ b/fs/pstore/internal.h
@@ -5,6 +5,9 @@
#include <linux/time.h>
#include <linux/pstore.h>
+#define PSTORE_DEFAULT_KMSG_BYTES 10240
+extern unsigned long kmsg_bytes;
+
#ifdef CONFIG_PSTORE_FTRACE
extern void pstore_register_ftrace(void);
extern void pstore_unregister_ftrace(void);