Re: [PATCH 3/9] VFS: Introduce a mount context

From: David Howells
Date: Thu May 04 2017 - 05:29:00 EST


Joe Perches <joe@xxxxxxxxxxx> wrote:

> krealloc would probably be more efficient and possible
> readable as likely there's already padding in the original
> allocation.

Given there's a maximum of 3 slots, I think it makes better sense to just
allocate them all up front.

David