diff --git a/fs_mgr/libfstab/fstab.cpp b/fs_mgr/libfstab/fstab.cpp index ca3599059..010fbc81d 100644 --- a/fs_mgr/libfstab/fstab.cpp +++ b/fs_mgr/libfstab/fstab.cpp @@ -39,10 +39,6 @@ #include "fstab_priv.h" #include "logging_macros.h" -#if !defined(MS_LAZYTIME) -#define MS_LAZYTIME (1 << 25) -#endif - using android::base::EndsWith; using android::base::ParseByteCount; using android::base::ParseInt; @@ -79,6 +75,7 @@ FlagList kMountFlagsList[] = { {"slave", MS_SLAVE}, {"shared", MS_SHARED}, {"lazytime", MS_LAZYTIME}, + {"nosymfollow", MS_NOSYMFOLLOW}, {"defaults", 0}, }; diff --git a/fs_mgr/tests/fs_mgr_test.cpp b/fs_mgr/tests/fs_mgr_test.cpp index 6e050cf4b..37a68b8e2 100644 --- a/fs_mgr/tests/fs_mgr_test.cpp +++ b/fs_mgr/tests/fs_mgr_test.cpp @@ -334,6 +334,7 @@ TEST(fs_mgr, fs_mgr_read_fstab_file_proc_mounts) { {"slave", MS_SLAVE}, {"shared", MS_SHARED}, {"lazytime", MS_LAZYTIME}, + {"nosymfollow", MS_NOSYMFOLLOW}, {"defaults", 0}, {0, 0}, }; diff --git a/init/builtins.cpp b/init/builtins.cpp index c4af5b503..38aed9c64 100644 --- a/init/builtins.cpp +++ b/init/builtins.cpp @@ -471,6 +471,7 @@ static struct { { "private", MS_PRIVATE }, { "slave", MS_SLAVE }, { "shared", MS_SHARED }, + { "nosymfollow", MS_NOSYMFOLLOW }, { "defaults", 0 }, { 0, 0 }, };