Fix build breakage on -user build

Bug: 242145724
Test: Build any -user product
Change-Id: Id34f14a834919f1e381d0365d50847cb52cedf8d
This commit is contained in:
Yi-Yo Chiang 2022-08-11 16:50:43 +08:00
parent e761510df0
commit 3de7da950d
1 changed files with 3 additions and 3 deletions

View File

@ -81,6 +81,9 @@ bool fs_mgr_overlayfs_filesystem_available(const std::string& filesystem) {
return filesystems.find("\t" + filesystem + "\n") != std::string::npos;
}
const auto kLowerdirOption = "lowerdir="s;
const auto kUpperdirOption = "upperdir="s;
} // namespace
#if ALLOW_ADBD_DISABLE_VERITY == 0 // If we are a user build, provide stubs
@ -328,9 +331,6 @@ std::string fs_mgr_get_overlayfs_candidate(const std::string& mount_point) {
return "";
}
const auto kLowerdirOption = "lowerdir="s;
const auto kUpperdirOption = "upperdir="s;
static inline bool KernelSupportsUserXattrs() {
struct utsname uts;
uname(&uts);