[RFC PATCH v2 00/10] Add configurable block device LED triggers

Ian Pilcher arequipeno at gmail.com
Tue Aug 10 11:55:33 EDT 2021

On 8/10/21 9:48 AM, Greg KH wrote:
> But what about when the device is removed from the system first?  Be
> careful about that...
> Anyway, sure, try those functions, I really do not know, all I
> originally complained about was those exports which did not need to be
> exported.

Sounds good.  I'll work something up.  (I'm actually thinking that
class_find_device() may be the best way to go, as it grabs a reference
to the device.)

                  In Soviet Russia, Google searches you!

More information about the Kernelnewbies mailing list