Re: [PATCH 0/6] vfs: properly deny directory leases on filesystems with special lease handling
Christoph Hellwig <[email protected]>
| Newsgroups | dev.linux.lists.gfs2,dev.linux.lists.v9fs,org.kernel.vger.ceph-devel,org.kernel.vger.linux-cifs,org.kernel.vger.linux-fsdevel,org.kernel.vger.linux-kernel,org.kernel.vger.linux-nfs |
|---|---|
| Message-ID | <[email protected]> |
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.