diff options
author | Amir Goldstein <amir73il@gmail.com> | 2024-10-11 11:00:21 +0200 |
---|---|---|
committer | Christian Brauner <brauner@kernel.org> | 2024-11-15 11:34:57 +0100 |
commit | 4a530a7c751d27f9dbd70b7fc45670cd11713b13 (patch) | |
tree | 457b643c5b44d91433c2e903fa5ec62b823ace79 /rust/helpers/vmalloc.c | |
parent | 8e929cb546ee42c9a61d24fae60605e9e3192354 (diff) | |
download | linux-4a530a7c751d27f9dbd70b7fc45670cd11713b13.tar.gz linux-4a530a7c751d27f9dbd70b7fc45670cd11713b13.tar.bz2 linux-4a530a7c751d27f9dbd70b7fc45670cd11713b13.zip |
fs: prepare for "explicit connectable" file handles
We would like to use the high 16bit of the handle_type field to encode
file handle traits, such as "connectable".
In preparation for this change, make sure that filesystems do not return
a handle_type value with upper bits set and that the open_by_handle_at(2)
syscall rejects these handle types.
Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Link: https://lore.kernel.org/r/20241011090023.655623-2-amir73il@gmail.com
Fixes: 570df4e9c23f ("ceph: snapshot nfs re-export")
Acked-by:
Reviewed-by: Jan Kara <jack@suse.cz>
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'rust/helpers/vmalloc.c')
0 files changed, 0 insertions, 0 deletions