Re: [PATCH] configfs: switch ->default groups to a linked list

From: Sagi Grimberg
Date: Sun Feb 28 2016 - 05:59:01 EST




On 26/02/2016 14:33, Christoph Hellwig wrote:
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: Christoph Hellwig <hch@xxxxxx>
---

Nice!

-As a consequence of this, default_groups cannot be removed directly via
+As a consequence of this, default groups cannot be removed directly via
rmdir(2). They also are not considered when rmdir(2) on the parent
group is checking for children.


What's changed here?

Other than that, looks good

Reviewed-by: Sagi Grimberg <sagig@xxxxxxxxxxxx>