aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKonstantin Belousov <kib@FreeBSD.org>2023-08-11 18:00:44 +0000
committerKonstantin Belousov <kib@FreeBSD.org>2023-08-11 18:01:49 +0000
commit765ad5b28d3fa272208aedc3047a6a3dff561037 (patch)
treed891cf6a9f43444b3cddf719d73f0e94d47b7749
parent54cfeb848468b8086fd046bdb94a0ed30f6dec15 (diff)
downloadsrc-765ad5b28d3fa272208aedc3047a6a3dff561037.tar.gz
src-765ad5b28d3fa272208aedc3047a6a3dff561037.zip
tmpfs: add the "pgread" mount option to the allowed options list for mount
Fixes: 0f613ab85e5a5274704d179f39fb15163d46e7c4 Sponsored by: The FreeBSD Foundation MFC after: 1 week
-rw-r--r--sys/fs/tmpfs/tmpfs_vfsops.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/fs/tmpfs/tmpfs_vfsops.c b/sys/fs/tmpfs/tmpfs_vfsops.c
index b04b3c084b3b..f7dbadc1fd95 100644
--- a/sys/fs/tmpfs/tmpfs_vfsops.c
+++ b/sys/fs/tmpfs/tmpfs_vfsops.c
@@ -93,7 +93,7 @@ static int tmpfs_statfs(struct mount *, struct statfs *);
static const char *tmpfs_opts[] = {
"from", "easize", "size", "maxfilesize", "inodes", "uid", "gid", "mode",
- "export", "union", "nonc", "nomtime", "nosymfollow", NULL
+ "export", "union", "nonc", "nomtime", "nosymfollow", "pgread", NULL
};
static const char *tmpfs_updateopts[] = {