summaryrefslogtreecommitdiffstats
path: root/sys/fs/ext2fs
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2011-01-21 21:33:46 +0000
committerjhb <jhb@FreeBSD.org>2011-01-21 21:33:46 +0000
commit2873c7d7157779071b259f04d1ff84be13f71f84 (patch)
treee551bb3d52695ecae6290d92b92244d180cdd79f /sys/fs/ext2fs
parent9a13618035785fc9f09d86316a4d7ceddfc9e708 (diff)
downloadFreeBSD-src-2873c7d7157779071b259f04d1ff84be13f71f84.zip
FreeBSD-src-2873c7d7157779071b259f04d1ff84be13f71f84.tar.gz
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
Diffstat (limited to 'sys/fs/ext2fs')
-rw-r--r--sys/fs/ext2fs/ext2_vfsops.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/fs/ext2fs/ext2_vfsops.c b/sys/fs/ext2fs/ext2_vfsops.c
index 555a6e3..7329eae 100644
--- a/sys/fs/ext2fs/ext2_vfsops.c
+++ b/sys/fs/ext2fs/ext2_vfsops.c
@@ -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.
OpenPOWER on IntegriCloud