]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
block: Document the role of the two attribute groups
authorBart Van Assche <bvanassche@acm.org>
Tue, 28 Nov 2023 19:40:19 +0000 (11:40 -0800)
committerJens Axboe <axboe@kernel.dk>
Wed, 29 Nov 2023 17:18:38 +0000 (10:18 -0700)
commit3649ff0a0b152b5f00e8f56a5ce0da0945aae278
treeee2a3944def07574d2c213e65047db8a99dd32c3
parent67d995e069535c32829f5d368d919063492cec6e
block: Document the role of the two attribute groups

It is nontrivial to derive the role of the two attribute groups in source
file block/blk-sysfs.c. Hence add a comment that explains their roles. See
also commit 6d85ebf95c44 ("blk-sysfs: add a new attr_group for blk_mq").

Cc: Christoph Hellwig <hch@lst.de>
Cc: Yu Kuai <yukuai3@huawei.com>
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Link: https://lore.kernel.org/r/20231128194019.72762-1-bvanassche@acm.org
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-sysfs.c