]> git.baikalelectronics.ru Git - kernel.git/commit
md: add the bitmap group to the default groups for the md kobject
authorChristoph Hellwig <hch@lst.de>
Wed, 1 Sep 2021 11:38:31 +0000 (13:38 +0200)
committerJens Axboe <axboe@kernel.dk>
Mon, 18 Oct 2021 20:50:19 +0000 (14:50 -0600)
commit8a3930098b720df7ed7f0282f13269f26a1af7aa
tree209934d378120569e9ecaeaa93603194dcbbe6be
parentad09a715f49aedf136c161f55757c1802ae0124b
md: add the bitmap group to the default groups for the md kobject

Replace the deprecated default_attrs with the default_groups mechanism,
and add the always visible bitmap group to the groups created add
kobject_add time.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Song Liu <songliubraving@fb.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/md/md.c