Re: [PATCH 2/2] zram: protect zram->stat race with init_lock

Jerome Marchand
2015-01-23T13:46:01Z

[-- Attachment #1: Type: text/plain, Size: 269 bytes --]

On 01/23/2015 06:58 AM, Minchan Kim wrote:
> The zram->stat handling should be procted by init_lock.
> Otherwise, user could see stale value from the stat.
>
> Signed-off-by: Minchan Kim <minchan@kernel.org>

Acked-by: Jerome Marchand <jmarchan@redhat.com>

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 473 bytes --]