diff options
author | Luck, Tony <tony.luck@intel.com> | 2011-03-18 18:33:43 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-03-21 16:50:05 -0400 |
commit | 366f7e7a79b19bd8c4e8f55fdf12b81538d1a7a4 (patch) | |
tree | 0c43335ab9e91ca895fdec82d1327cec16dcb645 /fs/pstore/internal.h | |
parent | 10effcb548c170d59ea1d2152f2ee0ad45ce4c9d (diff) |
pstore: use mount option instead sysfs to tweak kmsg_bytes
/sys/fs is a somewhat strange way to tweak what could more
obviously be tuned with a mount option.
Suggested-by: Christoph Hellwig <hch@infradead.org>
Signed-off-by: Tony Luck <tony.luck@intel.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/pstore/internal.h')
-rw-r--r-- | fs/pstore/internal.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/pstore/internal.h b/fs/pstore/internal.h index 76c26d2fab29..8c9f23eb1645 100644 --- a/fs/pstore/internal.h +++ b/fs/pstore/internal.h | |||
@@ -1,7 +1,6 @@ | |||
1 | extern void pstore_set_kmsg_bytes(int); | ||
1 | extern void pstore_get_records(void); | 2 | extern void pstore_get_records(void); |
2 | extern int pstore_mkfile(enum pstore_type_id, char *psname, u64 id, | 3 | extern int pstore_mkfile(enum pstore_type_id, char *psname, u64 id, |
3 | char *data, size_t size, | 4 | char *data, size_t size, |
4 | struct timespec time, int (*erase)(u64)); | 5 | struct timespec time, int (*erase)(u64)); |
5 | extern int pstore_is_mounted(void); | 6 | extern int pstore_is_mounted(void); |
6 | |||
7 | extern struct kobj_attribute pstore_kmsg_bytes_attr; | ||