git: 765ad5b28d3f - main - tmpfs: add the "pgread" mount option to the allowed options list for mount
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 11 Aug 2023 18:42:03 UTC
The branch main has been updated by kib:
URL: https://cgit.FreeBSD.org/src/commit/?id=765ad5b28d3fa272208aedc3047a6a3dff561037
commit 765ad5b28d3fa272208aedc3047a6a3dff561037
Author: Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2023-08-11 18:00:44 +0000
Commit: Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2023-08-11 18:01:49 +0000
tmpfs: add the "pgread" mount option to the allowed options list for mount
Fixes: 0f613ab85e5a5274704d179f39fb15163d46e7c4
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
---
sys/fs/tmpfs/tmpfs_vfsops.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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[] = {