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 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/