Re: [GIT PULL] vfs mount
From: Christoph Hellwig
Date: Fri Apr 04 2025 - 04:28:18 EST
On Thu, Apr 03, 2025 at 11:09:41AM -0700, Linus Torvalds wrote:
> On Thu, 3 Apr 2025 at 10:21, Mateusz Guzik <mjguzik@xxxxxxxxx> wrote:
> >
> > I would argue it would be best if a language wizard came up with a way
> > to *demand* explicit use of { } and fail compilation if not present.
>
> I tried to think of some sane model for it, but there isn't any good syntax.
>
> The only way to enforce it would be to also have a "end" marker, ie do
> something like
Or just kill the non-scoped guard because it simply is an insane API.