Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1345216 > unrolled thread

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

Started bySagi Grimberg <sagig@dev.mellanox.co.il>
First post2016-02-28 12:00 +0100
Last post2016-02-28 14:10 +0100
Articles 2 — 2 participants

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH] configfs: switch ->default groups to a linked list Sagi Grimberg <sagig@dev.mellanox.co.il> - 2016-02-28 12:00 +0100
    Re: [PATCH] configfs: switch ->default groups to a linked list Christoph Hellwig <hch@lst.de> - 2016-02-28 14:10 +0100

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

FromSagi Grimberg <sagig@dev.mellanox.co.il>
Date2016-02-28 12:00 +0100
SubjectRe: [PATCH] configfs: switch ->default groups to a linked list
Message-ID<r77eW-12E-17@gated-at.bofh.it>

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@lst.de>
> ---

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@mellanox.com>

[toc] | [next] | [standalone]


#1345240

FromChristoph Hellwig <hch@lst.de>
Date2016-02-28 14:10 +0100
Message-ID<r79gJ-2KG-3@gated-at.bofh.it>
In reply to#1345216
On Sun, Feb 28, 2016 at 12:58:42PM +0200, Sagi Grimberg wrote:
>> -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?

I removed the underscore in default_groups - while we still have
a member of that name it's not exposed directly anymore, so I'd rather
not have the documentation refer to it.

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web