Messages in this thread | | | Date | Fri, 1 Nov 2013 19:43:44 +0530 | Subject | Re: [PATCH v9 2/2] Staging: zram: Fix decrement of variable by calling bdput() | From | Rashika Kheria <> |
| |
On Fri, Nov 1, 2013 at 2:24 PM, Jerome Marchand <jmarchan@redhat.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@vger.kernel.org > > Signed-off-by: Rashika Kheria <rashika.kheria@gmail.com> > > This version finally looks good. Thanks for your effort. > > Acked-by: Jerome Marchand <jmarchan@redhat.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
| |