[PATCH][zram] Do not check for init flag before starting I/O

Linus Torvalds torvalds at linux-foundation.org
Thu Dec 30 20:09:00 UTC 2010

On Thu, Dec 30, 2010 at 11:02 AM, Nitin Gupta <ngupta at vflare.org> wrote:
> This commit shows oops in zram_inc_stat() which does not exist in staging
> tree version of zram. Its actually a problem with zram version as present in
> project's own repository where we allocate struct zram_stats_cpu upon device
> initialization. OTOH, In mainline/staging version of zram, we allocate
> struct stats upfront, so this oops cannot happen in mainline version.
> So, this commit is not even applicable for mainline/staging tree.  My bad, I
> didn't get a chance to review that patch.

Ok. So it really is a revert, and the commit message for the revert
should have explained that.

I changed the commit message appropriately, and committed it as the
attached commit.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.diff
Type: text/x-patch
Size: 6497 bytes
Desc: not available
URL: <http://driverdev.linuxdriverproject.org/pipermail/driverdev-devel/attachments/20101230/2cb6359e/attachment.bin>

More information about the devel mailing list