summaryrefslogtreecommitdiff
path: root/net/unix/unix_bpf.c
diff options
context:
space:
mode:
authorJeff Layton <jlayton@kernel.org>2025-11-11 09:12:42 -0500
committerChristian Brauner <brauner@kernel.org>2025-11-12 09:38:31 +0100
commit6fc5f2b19e75b3f34d83cb65de6726ef7dd9ca89 (patch)
tree1b53f8efeede608cf0373a8135d733ef27360055 /net/unix/unix_bpf.c
parent3a8660878839faadb4f1a6dd72c3179c1df56787 (diff)
filelock: make lease_alloc() take a flags argument
__break_lease() currently overrides the flc_flags field in the lease after allocating it. A forthcoming patch will add the ability to request a FL_DELEG type lease. Instead of overriding the flags field, add a flags argument to lease_alloc() and lease_init() so it's set correctly after allocating. 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-1-52f3feebb2f2@kernel.org Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'net/unix/unix_bpf.c')
0 files changed, 0 insertions, 0 deletions