ÔÚ 2021/8/9 ÉÏÎç11:32, Ian Pilcher дµÀ:
> Add show & store functions in blk-ledtrig.c (attributes defined in genhd.c)
>
> Show function shows all available LEDs (LEDs associated with blkdev trigger);
> currently associated LED is shown in square brackets ([])
>
> Store function accepts
On 8/8/21 11:21 PM, Jackie Liu wrote:
+// Returns a pointer to the first whitespace character in s (or a pointer to
+// the terminating null), which is effectively a pointer to the position
*after*
+// the last character in the non-whitespace token at the beginning of s. (s is
+// expected to
Add show & store functions in blk-ledtrig.c (attributes defined in genhd.c)
Show function shows all available LEDs (LEDs associated with blkdev trigger);
currently associated LED is shown in square brackets ([])
Store function accepts either all whitespace or "none" to clear LED
Signed-off-by: