Re: [PATCH v10] Staging: zram: Fix memory leak by refcount mismatch

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Nov 10, 2013 at 10:13:53PM +0530, Rashika Kheria wrote:
> As suggested by Minchan Kim and 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.
> 
> Acked-by: Minchan Kim <minchan@xxxxxxxxxx>
> Acked-by: Jerome Marchand <jmarchan@xxxxxxxxxx>
> Cc: stable@xxxxxxxxxxxxxxx
> Signed-off-by: Rashika Kheria <rashika.kheria@xxxxxxxxx>
> ---
> 
> This revision fixes the following issue of the previous revision-
> Incorrect Subject Line

Thanks for this.  I'm going to hold off applying this to my tree until
3.13-rc1 is out, as I want to get this into 3.13-final, and my "normal"
opw-next branch is for 3.14.

So please consider it applied for the OPW application process, it's
sitting in my todo mbox and will be applied in a few weeks.

And very nice job with this, fixing real bugs is always a nice thing to
see happen with the opw-kernel application process.

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




[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]