aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/libzfs/os/freebsd/libzfs_zmount.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/libzfs/os/freebsd/libzfs_zmount.c b/lib/libzfs/os/freebsd/libzfs_zmount.c
index e114b1e0c..699d330eb 100644
--- a/lib/libzfs/os/freebsd/libzfs_zmount.c
+++ b/lib/libzfs/os/freebsd/libzfs_zmount.c
@@ -97,11 +97,6 @@ do_mount_(const char *spec, const char *dir, int mflag, char *fstype,
iovlen = 0;
if (strstr(optstr, MNTOPT_REMOUNT) != NULL)
build_iovec(&iov, &iovlen, "update", NULL, 0);
- if (strstr(optstr, MNTOPT_NOXATTR) == NULL &&
- strstr(optstr, MNTOPT_XATTR) == NULL &&
- strstr(optstr, MNTOPT_SAXATTR) == NULL &&
- strstr(optstr, MNTOPT_DIRXATTR) == NULL)
- build_iovec(&iov, &iovlen, "xattr", NULL, 0);
if (mflag & MS_RDONLY)
build_iovec(&iov, &iovlen, "ro", NULL, 0);
build_iovec(&iov, &iovlen, "fstype", fstype, (size_t)-1);