Re: [PATCH v6 4/4] zram: get rid of lockdep warning

From: Greg Kroah-Hartman
Date: Sun Feb 03 2013 - 22:22:21 EST


On Wed, Jan 30, 2013 at 11:41:42AM +0900, Minchan Kim wrote:
> Lockdep complains about recursive deadlock of zram->init_lock.
> [1] made it false positive because we can't request IO to zram
> before setting disksize. Anyway, we should shut lockdep up to
> avoid many reporting from user.
>
> [1] : zram: force disksize setting before using zram
>
> Acked-by: Jerome Marchand <jmarchand@xxxxxxxxxx>
> Acked-by: Nitin Gupta <ngupta@xxxxxxxxxx>
> Signed-off-by: Minchan Kim <minchan@xxxxxxxxxx>
> ---
> drivers/staging/zram/zram_drv.c | 189 +++++++++++++++++++------------------
> drivers/staging/zram/zram_drv.h | 12 ++-
> drivers/staging/zram/zram_sysfs.c | 11 ++-
> 3 files changed, 116 insertions(+), 96 deletions(-)

This patch fails to apply to my staging-next branch, but the three
others did, so I took them. Please refresh this one and resend if you
want it applied.

thanks,

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/