diff options
author | Kees Cook <keescook@chromium.org> | 2018-12-03 16:52:02 -0800 |
---|---|---|
committer | Kees Cook <keescook@chromium.org> | 2018-12-03 16:52:02 -0800 |
commit | 971f66d8a75a4f86a254652cc1e70a7be841cc43 (patch) | |
tree | eb40985c760e9824e902e19794b6cd839264f863 /include | |
parent | ccda4af0f4b92f7b4c308d3acc262f4a7e3affad (diff) | |
parent | 89d328f637b9904b6d4c9af73c8a608b8dd4d6f8 (diff) | |
download | linux-971f66d8a75a4f86a254652cc1e70a7be841cc43.tar.bz2 |
Merge branch 'for-linus/pstore' into for-next/pstore
Diffstat (limited to 'include')
-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 |