Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3de7da95 authored by Yi-Yo Chiang's avatar Yi-Yo Chiang
Browse files

Fix build breakage on -user build

Bug: 242145724
Test: Build any -user product
Change-Id: Id34f14a834919f1e381d0365d50847cb52cedf8d
parent e761510d
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -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);