summaryrefslogtreecommitdiffstats
path: root/sys/fs/nfsclient/nfs_clvnops.c
diff options
context:
space:
mode:
authorkib <kib@FreeBSD.org>2014-07-30 03:56:17 +0000
committerkib <kib@FreeBSD.org>2014-07-30 03:56:17 +0000
commit4af1d57b25130479d52f78618815e22d50cff4d8 (patch)
treeda99d07701f732cb9a7ea1f978fc1e8a5724dfe9 /sys/fs/nfsclient/nfs_clvnops.c
parent7c889ea487454b0962d2e64bd3110b9549a88afa (diff)
downloadFreeBSD-src-4af1d57b25130479d52f78618815e22d50cff4d8.zip
FreeBSD-src-4af1d57b25130479d52f78618815e22d50cff4d8.tar.gz
MFC r268764:
Check for the cross-device cross-link attempt in the VFS, instead of VOP_LINK() implemenations.
Diffstat (limited to 'sys/fs/nfsclient/nfs_clvnops.c')
-rw-r--r--sys/fs/nfsclient/nfs_clvnops.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/sys/fs/nfsclient/nfs_clvnops.c b/sys/fs/nfsclient/nfs_clvnops.c
index 83b48b4..c24d58b 100644
--- a/sys/fs/nfsclient/nfs_clvnops.c
+++ b/sys/fs/nfsclient/nfs_clvnops.c
@@ -1977,10 +1977,6 @@ nfs_link(struct vop_link_args *ap)
struct nfsvattr nfsva, dnfsva;
int error = 0, attrflag, dattrflag;
- if (vp->v_mount != tdvp->v_mount) {
- return (EXDEV);
- }
-
/*
* Push all writes to the server, so that the attribute cache
* doesn't get "out of sync" with the server.
OpenPOWER on IntegriCloud