diff options
| author | 2018-12-03 16:52:02 -0800 | |
|---|---|---|
| committer | 2018-12-03 16:52:02 -0800 | |
| commit | 971f66d8a75a4f86a254652cc1e70a7be841cc43 (patch) | |
| tree | eb40985c760e9824e902e19794b6cd839264f863 /include/linux | |
| parent | Linux 4.20-rc2 (diff) | |
| parent | pstore/ram: Correctly calculate usable PRZ bytes (diff) | |
Merge branch 'for-linus/pstore' into for-next/pstore
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/pstore.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/linux/pstore.h b/include/linux/pstore.h index a15bc4d48752..30fcec375a3a 100644 --- a/include/linux/pstore.h +++ b/include/linux/pstore.h @@ -90,7 +90,10 @@ struct pstore_record { * * @buf_lock: spinlock to serialize access to @buf * @buf: preallocated crash dump buffer - * @bufsize: size of @buf available for crash dump writes + * @bufsize: size of @buf available for crash dump bytes (must match + * smallest number of bytes available for writing to a + * backend entry, since compressed bytes don't take kindly + * to being truncated) * * @read_mutex: serializes @open, @read, @close, and @erase callbacks * @flags: bitfield of frontends the backend can accept writes for |
