9p: explicitly deny setlease attempts
authorJeff Layton <jlayton@kernel.org>
Tue, 19 Mar 2024 16:34:45 +0000 (12:34 -0400)
committerEric Van Hensbergen <ericvh@kernel.org>
Thu, 28 Mar 2024 19:52:55 +0000 (19:52 +0000)
commit7a84602297d36617dbdadeba55a2567031e5165b
tree89d2df3ddaf164edef1367d6618f551f2418f7ad
parent4e5d208cc9bd5fbc95d536fa223b4b14c37b8ca8
9p: explicitly deny setlease attempts

9p is a remote network protocol, and it doesn't support asynchronous
notifications from the server. Ensure that we don't hand out any leases
since we can't guarantee they'll be broken when a file's contents
change.

Signed-off-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Eric Van Hensbergen <ericvh@kernel.org>
fs/9p/vfs_file.c