]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - fs/pstore/ram.c
pstore: Introduce new argument 'compressed' in the read callback
[karo-tx-linux.git] / fs / pstore / ram.c
index fe7188f742b7df62dc52d8a5102655dd8746662d..292722327811ac4b6e21ce923e8a94c95f91a01e 100644 (file)
@@ -133,7 +133,8 @@ ramoops_get_next_prz(struct persistent_ram_zone *przs[], uint *c, uint max,
 
 static ssize_t ramoops_pstore_read(u64 *id, enum pstore_type_id *type,
                                   int *count, struct timespec *time,
-                                  char **buf, struct pstore_info *psi)
+                                  char **buf, bool *compressed,
+                                  struct pstore_info *psi)
 {
        ssize_t size;
        ssize_t ecc_notice_size;