Messages in this thread | | | Date | Tue, 3 Feb 2015 23:15:25 +0900 | From | Sergey Senozhatsky <> | Subject | Re: [PATCH] zram: fix umount-reset_store-mount race condition |
| |
Hello,
On (02/03/15 22:05), Ganesh Mahendran wrote: > > zram->disksize = 0; > > - if (reset_capacity) > > - set_capacity(zram->disk, 0); > > How about keep this here? Protected by zram->init_lock. > set_capacity(zram->disk, 0);
why?
-ss
| |