Re: [PATCH 0/6] vfs: properly deny directory leases on filesystems with special lease handling

Christoph Hellwig
2026-01-07T15:32:51Z

On Wed, Jan 07, 2026 at 09:20:08AM -0500, Jeff Layton wrote:
> Long term, I think it would be best to change leases/delegations to be
> an opt-in thing, such that leases are always denied by default if the
> method isn't set.

Agreed.

> That's a larger patchset though as we'd need to audit
> all of the file_operations that currently have ->setlease() as NULL.

Initially you can just wire them up everywhere. But I guess that would
be overkill.