diff options
author | Richard Weinberger <richard@nod.at> | 2021-12-14 21:49:44 +0100 |
---|---|---|
committer | Richard Weinberger <richard@nod.at> | 2021-12-14 21:49:44 +0100 |
commit | 26de96d3835b839c49b9f6052f1a45fd61a58369 (patch) | |
tree | 976ef5dc0da24ec6fccf420158f742f77c0c0e78 | |
parent | 08ece1fdd38a5b498af498917184039a5de6ad18 (diff) | |
download | misc-nfs_reexport.tar.gz |
NFS: nfs_encode_fh: Remove S_AUTOMOUNT checknfs_reexport
Now with NFSD being able to cross into auto mounts,
the check can be removed.
Signed-off-by: Richard Weinberger <richard@nod.at>
-rw-r--r-- | fs/nfs/export.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/fs/nfs/export.c b/fs/nfs/export.c index 8c802895986380..6d56a52c424a29 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); |