Re: [PATCH v2] nfs-utils: mountd: Use a dynamic buffer for storing lists of gid's

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 04/08/2011 07:16 AM, Sean Finney wrote:
> Previously, in auth_unix_gid, group lists were stored in an array of
> hard-coded length 100, and in the situation that the group lists for a
> particular call were too large, the array was swapped with a dynamically
> allocated/freed buffer.  For environments where users are commonly in
> a large number of groups, this isn't an ideal approach.
> 
> Instead, use malloc/realloc to grow the list on an as-needed basis.
> 
> Signed-off-by: Sean Finney <sean.finney@xxxxxxxxxxxxxxxx>
My bad... I committed this early this week and forgot to 
acknowledge on the list... Sorry about that... 

steved. 
--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux