Pull vfs exportfs updates from Christian Brauner: "This contains work to bring NFS connectable file handles to userspace servers. The name_to_handle_at() system call is extended to encode connectable file handles. Such file handles can be resolved to an open file with a connected path. So far userspace NFS servers couldn't make use of this functionality even though the kernel does already support it. This is achieved by introducing a new flag for name_to_handle_at(). Similarly, the open_by_handle_at() system call is tought to understand connectable file handles explicitly created via name_to_handle_at()" * tag 'vfs-6.13.exportfs' of git://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs: fs: open_by_handle_at() support for decoding "explicit connectable" file handles fs: name_to_handle_at() support for "explicit connectable" file handles fs: prepare for "explicit connectable" file handles
Showing the changes to include/uapi (1 of 4 files). Show all
Unified · Split
| @@ -153,5 +153,6 @@ · 152 unmodified lines | ||
| 153 | 153 | object identity and may not be |
| 154 | 154 | usable with open_by_handle_at(2). */ |
| 155 | 155 | #define AT_HANDLE_MNT_ID_UNIQUE 0x001 /* Return the u64 unique mount ID. */ |
| 156 | +#define AT_HANDLE_CONNECTABLE 0x002 /* Request a connectable file handle */ | |
| 156 | 157 | |
| 157 | 158 | #endif /* _UAPI_LINUX_FCNTL_H */ |