aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
diff options
context:
space:
mode:
authorAmir Goldstein <[email protected]>2023-10-23 18:07:59 +0000
committerChristian Brauner <[email protected]>2023-10-28 14:15:15 +0000
commite21fc2038c1b978b89bbc3d45a4c5c6ef598e178 (patch)
treec649b5c855ca7fcc5b440fe57c3f64c56ec768aa /drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
parentexportfs: add helpers to check if filesystem can encode/decode file handles (diff)
downloadkernel-e21fc2038c1b978b89bbc3d45a4c5c6ef598e178.tar.gz
kernel-e21fc2038c1b978b89bbc3d45a4c5c6ef598e178.zip
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 <[email protected]> Reviewed-by: Jeff Layton <[email protected]> Acked-by: Chuck Lever <[email protected]> Signed-off-by: Amir Goldstein <[email protected]> Link: https://lore.kernel.org/r/[email protected] Acked-by: Dave Kleikamp <[email protected]> Reviewed-by: Christoph Hellwig <[email protected]> Signed-off-by: Christian Brauner <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c')
0 files changed, 0 insertions, 0 deletions