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
This commit is contained in:
Craig Rodrigues 2006-11-18 18:22:11 +00:00
parent 5140328ad3
commit ba8e255297
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=164385

View File

@ -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.
*