diff --git a/lib/libzfs/os/freebsd/libzfs_zmount.c b/lib/libzfs/os/freebsd/libzfs_zmount.c index e114b1e0ca..699d330ebd 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);