tmpfs: support the nosymfollow mount option

PR:	269772
Reported by:	firk@cantconnect.ru
Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
This commit is contained in:
Konstantin Belousov 2023-02-23 15:15:17 +02:00
parent 7e2af4f90b
commit 15df90218b

View File

@ -93,11 +93,11 @@ 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", NULL
"export", "union", "nonc", "nomtime", "nosymfollow", NULL
};
static const char *tmpfs_updateopts[] = {
"from", "easize", "export", "nomtime", "size", NULL
"from", "easize", "export", "nomtime", "size", "nosymfollow", NULL
};
static int