]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - fs/pstore/ram.c
pstore: Pass header size in the pstore write callback
[karo-tx-linux.git] / fs / pstore / ram.c
index 1376e5a8f0d6c6cfa430f87ed31d36cc9af5e007..c6bb77ca35b5b02b440c9b0617e7f6309b69190b 100644 (file)
@@ -195,7 +195,8 @@ static size_t ramoops_write_kmsg_hdr(struct persistent_ram_zone *prz)
 static int notrace ramoops_pstore_write_buf(enum pstore_type_id type,
                                            enum kmsg_dump_reason reason,
                                            u64 *id, unsigned int part,
-                                           const char *buf, size_t size,
+                                           const char *buf,
+                                           size_t hsize, size_t size,
                                            struct pstore_info *psi)
 {
        struct ramoops_context *cxt = psi->data;