Re: [PATCH] block: assign caller-specific lockdep class to disk->open_mutex
From: Bart Van Assche
Date: Sat May 30 2026 - 17:15:29 EST
On 5/30/26 6:45 AM, Tetsuo Handa wrote:
- static struct lock_class_key __key; \The two elements of this array have different roles. From the point of
+ static struct lock_class_key __key[2]; \
view of code readability and maintainability it's probably much better
to make this a struct with two named members rather than a two-element
array.
Thanks,
Bart.