expfs: Fix exportfs_can_encode_fh() for EXPORT_FH_FID
After commit 5402c4d4 ("exportfs: require ->fh_to_parent() to encode connectable file handles") we will fail to create non-decodable file handles for filesystems without export operations. Fix it. Fixes: 5402c4d4 ("exportfs: require ->fh_to_parent() to encode connectable file handles") Reviewed-by:Christian Brauner <brauner@kernel.org> Reviewed-by:
Amir Goldstein <amir73il@gmail.com> Signed-off-by:
Jan Kara <jack@suse.cz>
Loading
Please sign in to comment