diff options
author | David Howells <dhowells@redhat.com> | 2017-07-05 17:24:34 +0200 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2017-07-06 09:31:46 +0200 |
commit | 349d743895e2371bda9a02a5b465b50cc24d2825 (patch) | |
tree | 5a9ff4a63bf70603842b00e079b4fe6f25451e01 /fs/pstore/internal.h | |
parent | omfs: Implement show_options (diff) | |
download | linux-349d743895e2371bda9a02a5b465b50cc24d2825.tar.xz linux-349d743895e2371bda9a02a5b465b50cc24d2825.zip |
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.h | 3 |
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); |