diff options
| author | Jeff Layton <jlayton@kernel.org> | 2025-11-11 09:12:54 -0500 |
|---|---|---|
| committer | Christian Brauner <brauner@kernel.org> | 2025-11-12 09:38:36 +0100 |
| commit | d0eab9fc104730982a9ef5eff5989b7c871cd104 (patch) | |
| tree | eb142c02c9fbb8aec1b165ac25dc3c096a4e1229 /scripts/lib/kdoc/kdoc_output.py | |
| parent | 92bf53577f01aad988f7f39f69163b41f94cfb7d (diff) | |
filelock: lift the ban on directory leases in generic_setlease
With the addition of the try_break_lease calls in directory changing
operations, allow generic_setlease to hand them out. Write leases on
directories are never allowed however, so continue to reject them.
For now, there is no API for requesting delegations from userland, so
ensure that userland is prevented from acquiring a lease on a directory.
Reviewed-by: Jan Kara <jack@suse.cz>
Reviewed-by: NeilBrown <neil@brown.name>
Signed-off-by: Jeff Layton <jlayton@kernel.org>
Link: https://patch.msgid.link/20251111-dir-deleg-ro-v6-13-52f3feebb2f2@kernel.org
Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_output.py')
0 files changed, 0 insertions, 0 deletions
