summaryrefslogtreecommitdiffstats
path: root/sys/gnu
diff options
context:
space:
mode:
authorrodrigc <rodrigc@FreeBSD.org>2006-11-18 18:22:11 +0000
committerrodrigc <rodrigc@FreeBSD.org>2006-11-18 18:22:11 +0000
commita64c813df4304e9d0e5c52fe222000df9a9c20af (patch)
tree56172ce3445bda609d04e0706d6069fe89ad15b9 /sys/gnu
parent0f65401c2bd3bbdaf3f533d8ef5b1e681d230cd8 (diff)
downloadFreeBSD-src-a64c813df4304e9d0e5c52fe222000df9a9c20af.zip
FreeBSD-src-a64c813df4304e9d0e5c52fe222000df9a9c20af.tar.gz
Previously, the mount_ext2fs binary listed the acceptable mount
options for ext2fs. Now that we use nmount() directly from the mount binary to access ext2fs filesystems, add the list of acceptable mount options to ext2_ops, so that vfs_filteropts() will accept options like "noatime" for ext2fs. PR: 105483 Noticed by: Dr. Markus Waldeck <waldeck gmx de> MFC after: 1 month
Diffstat (limited to 'sys/gnu')
-rw-r--r--sys/gnu/fs/ext2fs/ext2_vfsops.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/gnu/fs/ext2fs/ext2_vfsops.c b/sys/gnu/fs/ext2fs/ext2_vfsops.c
index c1b58cb..4168f91 100644
--- a/sys/gnu/fs/ext2fs/ext2_vfsops.c
+++ b/sys/gnu/fs/ext2fs/ext2_vfsops.c
@@ -119,7 +119,10 @@ static int ext2_check_sb_compat(struct ext2_super_block *es, struct cdev *dev,
static int compute_sb_data(struct vnode * devvp,
struct ext2_super_block * es, struct ext2_sb_info * fs);
-static const char *ext2_opts[] = { "from", "export" };
+static const char *ext2_opts[] = { "from", "export", "union", "acls", "exec",
+ "atime", "union", "suiddir", "multilabel", "symfollow", "clusterr",
+ "clusterw" };
+
/*
* VFS Operations.
*
OpenPOWER on IntegriCloud