Merge "fs_mgr: Support nosymfollow mount option" into main

This commit is contained in:
Treehugger Robot 2024-12-03 17:11:18 +00:00 committed by Gerrit Code Review
commit 92487860cf
3 changed files with 3 additions and 0 deletions

View file

@ -75,6 +75,7 @@ FlagList kMountFlagsList[] = {
{"slave", MS_SLAVE}, {"slave", MS_SLAVE},
{"shared", MS_SHARED}, {"shared", MS_SHARED},
{"lazytime", MS_LAZYTIME}, {"lazytime", MS_LAZYTIME},
{"nosymfollow", MS_NOSYMFOLLOW},
{"defaults", 0}, {"defaults", 0},
}; };

View file

@ -330,6 +330,7 @@ TEST(fs_mgr, fs_mgr_read_fstab_file_proc_mounts) {
{"slave", MS_SLAVE}, {"slave", MS_SLAVE},
{"shared", MS_SHARED}, {"shared", MS_SHARED},
{"lazytime", MS_LAZYTIME}, {"lazytime", MS_LAZYTIME},
{"nosymfollow", MS_NOSYMFOLLOW},
{"defaults", 0}, {"defaults", 0},
{0, 0}, {0, 0},
}; };

View file

@ -471,6 +471,7 @@ static struct {
{ "private", MS_PRIVATE }, { "private", MS_PRIVATE },
{ "slave", MS_SLAVE }, { "slave", MS_SLAVE },
{ "shared", MS_SHARED }, { "shared", MS_SHARED },
{ "nosymfollow", MS_NOSYMFOLLOW },
{ "defaults", 0 }, { "defaults", 0 },
{ 0, 0 }, { 0, 0 },
}; };