[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20131101020004.GH26080@bbox>
Date: Fri, 1 Nov 2013 11:00:04 +0900
From: Minchan Kim <minchan@...nel.org>
To: Rashika Kheria <rashika.kheria@...il.com>
Cc: opw-kernel@...glegroups.com,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Jiang Liu <jiang.liu@...wei.com>,
Nitin Gupta <ngupta@...are.org>,
Jerome Marchand <jmarchand@...hat.com>,
linux-kernel@...r.kernel.org, stable@...r.kernel.org
Subject: Re: [PATCH v9 2/2] Staging: zram: Fix decrement of variable by
calling bdput()
I hope subject should be "Fix memory leak by refcount mismatch"
On Thu, Oct 31, 2013 at 05:28:18PM +0530, Rashika Kheria wrote:
> As suggested by Jerome Marchand "The code in reset_store get the block device
> (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>
Other than that,
Acked-by: Minchan Kim <minchan@...nel.org>
Rashika, Thanks!
--
Kind regards,
Minchan Kim
--
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