diff options
| author | 2026-01-08 12:13:18 -0500 | |
|---|---|---|
| committer | 2026-01-12 10:55:48 +0100 | |
| commit | 2b10994be716b07d881ad0f966d6a4bb13b20750 (patch) | |
| tree | abbaf5bd9086af7bb8ed7c345724499107fe676a /include/linux/reset/ssh:/git@git.zx2c4.com | |
| parent | xfs: add setlease file operation (diff) | |
filelock: default to returning -EINVAL when ->setlease operation is NULL
Now that most filesystems where we expect to need lease support have
their ->setlease() operations explicitly set, change kernel_setlease()
to return -EINVAL when the setlease is a NULL pointer.
Also update the Documentation/ with info about this change.
Signed-off-by: Jeff Layton <jlayton@kernel.org>
Link: https://patch.msgid.link/20260108-setlease-6-20-v1-23-ea4dec9b67fa@kernel.org
Acked-by: Al Viro <viro@zeniv.linux.org.uk>
Acked-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Jan Kara <jack@suse.cz>
Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'include/linux/reset/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
