summaryrefslogtreecommitdiffstats
path: root/fs/pstore/internal.h
diff options
context:
space:
mode:
authorLuck, Tony <tony.luck@intel.com>2011-03-18 15:33:43 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2011-03-21 13:50:05 -0700
commit366f7e7a79b19bd8c4e8f55fdf12b81538d1a7a4 (patch)
tree0c43335ab9e91ca895fdec82d1327cec16dcb645 /fs/pstore/internal.h
parent10effcb548c170d59ea1d2152f2ee0ad45ce4c9d (diff)
downloadlinux-366f7e7a79b19bd8c4e8f55fdf12b81538d1a7a4.tar.bz2
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.h3
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 @@
+extern void pstore_set_kmsg_bytes(int);
extern void pstore_get_records(void);
extern int pstore_mkfile(enum pstore_type_id, char *psname, u64 id,
char *data, size_t size,
struct timespec time, int (*erase)(u64));
extern int pstore_is_mounted(void);
-
-extern struct kobj_attribute pstore_kmsg_bytes_attr;