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)
commit51238e7fbd6182e36dbc093c92ae93142c57c0f5
tree209934d378120569e9ecaeaa93603194dcbbe6be
parent9be68dd7ac0e13be2ac57770c1f921d6b3294c6e
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