linux/fs/ntfs3
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
..
lib fs/ntfs3: Add missing header and guards to lib/ headers 2021-09-13 19:41:44 +03:00
attrib.c fs/ntfs3: Fix NULL pointer dereference on error in attr_allocate_frame() 2023-09-28 15:04:03 +03:00
attrlist.c fs/ntfs3: Use kvmalloc instead of kmalloc(... __GFP_NOWARN) 2023-09-28 15:03:56 +03:00
bitfunc.c fs/ntfs3: Add ntfs_bitmap_weight_le function and refactoring 2022-11-14 19:50:42 +03:00
bitmap.c fs/ntfs3: Allow repeated call to ntfs3_put_sbi 2023-09-28 15:03:59 +03:00
debug.h fs/ntfs3. Add forward declarations for structs to debug.h 2021-09-13 19:41:43 +03:00
dir.c fs/ntfs3: Fix directory element type detection 2023-09-28 15:04:06 +03:00
file.c fs/ntfs3: Refactoring and comments 2023-09-28 15:04:01 +03:00
frecord.c fs/ntfs3: Fix possible NULL-ptr-deref in ni_readpage_cmpr() 2023-09-28 15:04:03 +03:00
fslog.c fs/ntfs3: Avoid possible memory leak 2023-09-28 15:04:06 +03:00
fsntfs.c fs/ntfs3: fix deadlock in mark_as_free_ex 2023-09-28 15:03:58 +03:00
index.c fs/ntfs3: Fix possible null-pointer dereference in hdr_find_e() 2023-09-28 15:04:05 +03:00
inode.c fs/ntfs3: Refactoring and comments 2023-09-28 15:04:01 +03:00
Kconfig fs: add CONFIG_BUFFER_HEAD 2023-08-02 09:13:09 -06:00
lznt.c fs/ntfs3: Code formatting 2023-07-03 00:21:27 +04:00
Makefile
namei.c fs/ntfs3: Refactoring and comments 2023-09-28 15:04:01 +03:00
ntfs_fs.h fs/ntfs3: Refactoring and comments 2023-09-28 15:04:01 +03:00
ntfs.h fs/ntfs3: Refactoring and comments 2023-09-28 15:04:01 +03:00
record.c fs/ntfs3: Refactoring and comments 2023-09-28 15:04:01 +03:00
run.c fs/ntfs3: Code formatting 2023-07-03 00:21:27 +04:00
super.c exportfs: make ->encode_fh() a mandatory method for NFS export 2023-10-28 16:15:15 +02:00
upcase.c fs/ntfs3: Add option "nocase" 2022-09-30 17:39:47 +03:00
xattr.c fs/ntfs3: fix panic about slab-out-of-bounds caused by ntfs_list_ea() 2023-09-28 15:04:04 +03:00