[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAMpEsFEwKuTwr8DqAfa+8fbgKbnc=9BvB6s-Y=A5vS6a-BRGsA@mail.gmail.com>
Date: Fri, 1 Nov 2013 19:43:44 +0530
From: Rashika Kheria <rashika.kheria@...il.com>
To: Jerome Marchand <jmarchan@...hat.com>
Cc: opw-kernel <opw-kernel@...glegroups.com>,
Minchan Kim <minchan@...nel.org>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Jiang Liu <jiang.liu@...wei.com>,
Nitin Gupta <ngupta@...are.org>,
Jerome Marchand <jmarchand@...hat.com>,
Linux-Kernel <linux-kernel@...r.kernel.org>,
stable@...r.kernel.org
Subject: Re: [PATCH v9 2/2] Staging: zram: Fix decrement of variable by
calling bdput()
On Fri, Nov 1, 2013 at 2:24 PM, Jerome Marchand <jmarchan@...hat.com> wrote:
>
> On 10/31/2013 12:58 PM, Rashika Kheria wrote:
> > As suggested by Jerome Marchand "The code in reset_store get the block device
> The credit should actually go to Minchan. He found the bug. I merely
> explained it.
>
> > (bdget_disk()) but it does not put it (bdput()) when it's done using it.
> > The usage count is therefore incremented but never decremented."
> >
> > This patch also puts bdput() for all error cases.
> >
> > Cc: stable@...r.kernel.org
> > Signed-off-by: Rashika Kheria <rashika.kheria@...il.com>
>
> This version finally looks good. Thanks for your effort.
>
> Acked-by: Jerome Marchand <jmarchan@...hat.com>
>
>
Hi,
Thanks Minchan and Jerome for all you support and patience.
Your guidance helped me learn more about zram and kernel coding style
in general. :)
Thanks,
--
Rashika Kheria
B.Tech CSE
IIIT Hyderabad
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists