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-16 09:16:09 +0000
commit0fbf21482f5a594d26314e1354df4dd691bc6401 (patch)
tree72e86c8ebdb155680066b05d6192cc2be07a9381
parent14e8b328e3245d9260212ec9e108f7fe23158cd8 (diff)
downloadsrc-0fbf21482f5a594d26314e1354df4dd691bc6401.tar.gz
src-0fbf21482f5a594d26314e1354df4dd691bc6401.zip
tmpfs: add the "pgread" mount option to the allowed options list for mount
(cherry picked from commit 765ad5b28d3fa272208aedc3047a6a3dff561037)
-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 9a9c3f4570de..af0b158988f7 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", "size", "maxfilesize", "inodes", "uid", "gid", "mode", "export",
- "union", "nonc", "nomtime", "nosymfollow", NULL
+ "union", "nonc", "nomtime", "nosymfollow", "pgread", NULL
};
static const char *tmpfs_updateopts[] = {