--- zzzz-none-000/linux-5.4.213/fs/nfsd/export.c 2022-09-15 10:04:56.000000000 +0000 +++ alder-5690pro-762/linux-5.4.213/fs/nfsd/export.c 2024-08-14 09:02:08.000000000 +0000 @@ -386,8 +386,7 @@ return -EINVAL; } - if (!inode->i_sb->s_export_op || - !inode->i_sb->s_export_op->fh_to_dentry) { + if (!exportfs_can_decode_fh(inode->i_sb->s_export_op)) { dprintk("exp_export: export of invalid fs type.\n"); return -EINVAL; }