On 02/09/2016 10:59 AM, Shaohua Li wrote:
On Fri, Feb 05, 2016 at 11:02:05AM +0800, hansechang@xxxxxxxxx wrote:
From: Chang Huaixin <huaixin.chx@xxxxxxxxxxxxxxx>
Blkg_conf_finish is used after blkg_conf_prep.
Blkg_conf_prep calls get_disk and increases module refcount. However,
blkg_conf_finish only calls put_disk which doesn't decrease module refcount.
So we call module_put here additionally to keep module refcount balanced.
This is reported several times. Jens, could you pick up one?
http://marc.info/?l=linux-kernel&m=145255224414075&w=2
http://marc.info/?l=linux-kernel&m=145433834930392&w=2
Done, queued up for 4.5-rc
--
Jens Axboe
--
To unsubscribe from this list: send the line "unsubscribe linux-block" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html