Skip to content
Commit 1ae1602d authored by Christoph Hellwig's avatar Christoph Hellwig
Browse files

configfs: switch ->default groups to a linked list



Replace the current NULL-terminated array of default groups with a linked
list.  This gets rid of lots of nasty code to size and/or dynamically
allocate the array.

While we're at it also provide a conveniant helper to remove the default
groups.

Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
Acked-by: Felipe Balbi <balbi@kernel.org>		[drivers/usb/gadget]
Acked-by: default avatarJoel Becker <jlbec@evilplan.org>
Acked-by: default avatarNicholas Bellinger <nab@linux-iscsi.org>
Reviewed-by: default avatarSagi Grimberg <sagig@mellanox.com>
parent b1f1a29d
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment