[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <YTt4VZLXZRTgwppY@kroah.com>
Date: Fri, 10 Sep 2021 17:23:01 +0200
From: Greg KH <gregkh@...uxfoundation.org>
To: Ian Pilcher <arequipeno@...il.com>
Cc: axboe@...nel.dk, pavel@....cz, linux-leds@...r.kernel.org,
linux-block@...r.kernel.org, linux-kernel@...r.kernel.org,
kabel@...nel.org
Subject: Re: [PATCH v2 06/15] leds: trigger: blkdev: Add function to get
gendisk by name
On Fri, Sep 10, 2021 at 10:17:03AM -0500, Ian Pilcher wrote:
> On 9/10/21 1:45 AM, Greg KH wrote:
> > You now have bumped the reference count on this structure. Where do you
> > decrement it when you are finished with it?
>
> That happens when I "unlink" the block device from the LED in
> blkdev_disk_unlink_locked() at ledtrig-blkdev.c:410.
I have no context here anymore, so I have no idea if this is really true
:(
Powered by blists - more mailing lists