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

Christoph Hellwig hch at infradead.org
Wed Jan 7 15:32:34 UTC 2026


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. 




More information about the samba-technical mailing list