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

Commit fefc8862 authored by Jeff Sharkey's avatar Jeff Sharkey Committed by android-build-merger
Browse files

Ignore setxattr() failures on tmpfs. am: 69a14f30

am: 9819df89

Change-Id: I255309f97bf0799e5b338693701fe99b692c8ea1
parents 4b8900b3 9819df89
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -823,7 +823,7 @@ int write_path_inode(const std::string& parent, const char* name, const char* in
    }

    inode_raw = inode;
    if (setxattr(parent.c_str(), inode_xattr, &inode_raw, sizeof(inode_raw), 0) != 0) {
    if (setxattr(parent.c_str(), inode_xattr, &inode_raw, sizeof(inode_raw), 0) != 0 && errno != EOPNOTSUPP) {
        PLOG(ERROR) << "Failed to write xattr " << inode_xattr << " at " << parent;
        return -1;
    } else {