RE: [PATCH] pstore: do not use message compression without lock

2015-05-21 Thread Luck, Tony
> - if (big_oops_buf) { > + if (big_oops_buf && is_locked) { > dst = big_oops_buf; > hsize = sprintf(dst, "%s#%d Part%u\n", why, > Bump Thanks for the reminder. Applied. Should show up in linux-next soon, and then go to Linus i

Re: [PATCH] pstore: do not use message compression without lock

2015-05-14 Thread Konstantin Khlebnikov
On 21.04.2015 14:32, Konstantin Khlebnikov wrote: pstore_compress() uses static stream buffer for zlib-deflate which easily crashes when several concurrent threads use one shared state. Signed-off-by: Konstantin Khlebnikov --- fs/pstore/platform.c |2 +- 1 file changed, 1 insertion(+), 1