linux-stable/Documentation/filesystems/nfs
Amir Goldstein e21fc2038c
exportfs: make ->encode_fh() a mandatory method for NFS export
Rename the default helper for encoding FILEID_INO32_GEN* file handles to
generic_encode_ino32_fh() and convert the filesystems that used the
default implementation to use the generic helper explicitly.

After this change, exportfs_encode_inode_fh() no longer has a default
implementation to encode FILEID_INO32_GEN* file handles.

This is a step towards allowing filesystems to encode non-decodeable
file handles for fanotify without having to implement any
export_operations.

Reviewed-by: Jan Kara <jack@suse.cz>
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Acked-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Link: https://lore.kernel.org/r/20231023180801.2953446-3-amir73il@gmail.com
Acked-by: Dave Kleikamp <dave.kleikamp@oracle.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Christian Brauner <brauner@kernel.org>
2023-10-28 16:15:15 +02:00
..
client-identifier.rst Documentation: Fix typos 2023-08-18 11:29:03 -06:00
exporting.rst exportfs: make ->encode_fh() a mandatory method for NFS export 2023-10-28 16:15:15 +02:00
index.rst Documentation: Add an explanation of NFSv4 client identifiers 2022-05-17 15:33:21 -04:00
knfsd-stats.rst Documentation: nfs: knfsd-stats: convert to ReST 2020-02-13 11:21:35 -07:00
nfs41-server.rst Documentation: nfs: nfs41-server: convert to ReST 2020-02-13 11:21:31 -07:00
pnfs.rst Documentation: nfs: convert pnfs.txt to ReST 2020-02-13 11:21:08 -07:00
reexport.rst nfs: reexport documentation 2021-09-21 17:51:47 -04:00
rpc-cache.rst Documentation: Fix typos 2023-08-18 11:29:03 -06:00
rpc-server-gss.rst Documentation: Fix typos 2023-08-18 11:29:03 -06:00