summaryrefslogtreecommitdiffstats
path: root/sys/compat
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2004-12-03 18:14:22 +0000
committerphk <phk@FreeBSD.org>2004-12-03 18:14:22 +0000
commitb0e48f225888bdc5304000616e8159beb9074fb2 (patch)
tree9b6f098a357bd014a016953eaae82b43c0f25bb3 /sys/compat
parent0dc1d9670600ab1587b39956aa39d323ad8261bb (diff)
downloadFreeBSD-src-b0e48f225888bdc5304000616e8159beb9074fb2.zip
FreeBSD-src-b0e48f225888bdc5304000616e8159beb9074fb2.tar.gz
Do not blindly pass linux filesystem specific mount data across.
Diffstat (limited to 'sys/compat')
-rw-r--r--sys/compat/linux/linux_file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/compat/linux/linux_file.c b/sys/compat/linux/linux_file.c
index bf13cfd..dbbf885 100644
--- a/sys/compat/linux/linux_file.c
+++ b/sys/compat/linux/linux_file.c
@@ -798,7 +798,7 @@ linux_mount(struct thread *td, struct linux_mount_args *args)
"fspath", mntonname,
NULL);
} else
- error = vfs_mount(td, fstypename, mntonname, fsflags, fsdata);
+ error = EOPNOTSUPP;
return (error);
}
OpenPOWER on IntegriCloud