Now with NFSD being able to cross into auto mounts, the check can be removed. Signed-off-by: Richard Weinberger <richard@xxxxxx> --- fs/nfs/export.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/fs/nfs/export.c b/fs/nfs/export.c index 8c8028959863..6d56a52c424a 100644 --- a/fs/nfs/export.c +++ b/fs/nfs/export.c @@ -54,11 +54,6 @@ nfs_encode_fh(struct inode *inode, __u32 *p, int *max_len, struct inode *parent) dprintk("%s: max fh len %d inode %p parent %p", __func__, *max_len, inode, parent); - if (IS_AUTOMOUNT(inode)) { - dprintk("%s: refusing to create fh for automount inode %p\n", - __func__, inode); - return FILEID_INVALID; - } if (*max_len < len) { dprintk("%s: fh len %d too small, required %d\n", __func__, *max_len, len); -- 2.26.2