Restore support for the 'async' and 'sync' mount options lost when

switching to nmount(2).  While here, sort the options.

PR:		kern/153584
Submitted by:	Pedro F. Giffuni  giffunip at yahoo
MFC after:	1 week
This commit is contained in:
John Baldwin 2011-01-21 21:33:46 +00:00
parent 9bbfc2e646
commit 84edda0a2c

View File

@ -95,9 +95,9 @@ static int ext2_check_sb_compat(struct ext2fs *es, struct cdev *dev,
static int compute_sb_data(struct vnode * devvp,
struct ext2fs * es, struct m_ext2fs * fs);
static const char *ext2_opts[] = { "from", "export", "acls", "noexec",
"noatime", "union", "suiddir", "multilabel", "nosymfollow",
"noclusterr", "noclusterw", "force", NULL };
static const char *ext2_opts[] = { "acls", "async", "noatime", "noclusterr",
"noclusterw", "noexec", "export", "force", "from", "multilabel",
"suiddir", "nosymfollow", "sync", "union", NULL };
/*
* VFS Operations.