Loading fs_mgr/libsnapshot/snapshot.cpp +1 −6 Original line number Diff line number Diff line Loading @@ -239,12 +239,7 @@ bool SnapshotManager::RemoveAllUpdateState(LockedFile* lock, const std::function LOG(WARNING) << callstack_str.c_str(); std::stringstream path; path << "/data/misc/snapshotctl_log/libsnapshot." << Now() << ".log"; std::string path_str = path.str(); android::base::WriteStringToFile(callstack_str.c_str(), path_str); if (chmod(path_str.c_str(), 0644) == -1) { PLOG(WARNING) << "Unable to chmod 0644 " << ", file maybe dropped from bugreport:" << path_str; } android::base::WriteStringToFile(callstack_str.c_str(), path.str()); #endif if (!RemoveAllSnapshots(lock)) { Loading Loading
fs_mgr/libsnapshot/snapshot.cpp +1 −6 Original line number Diff line number Diff line Loading @@ -239,12 +239,7 @@ bool SnapshotManager::RemoveAllUpdateState(LockedFile* lock, const std::function LOG(WARNING) << callstack_str.c_str(); std::stringstream path; path << "/data/misc/snapshotctl_log/libsnapshot." << Now() << ".log"; std::string path_str = path.str(); android::base::WriteStringToFile(callstack_str.c_str(), path_str); if (chmod(path_str.c_str(), 0644) == -1) { PLOG(WARNING) << "Unable to chmod 0644 " << ", file maybe dropped from bugreport:" << path_str; } android::base::WriteStringToFile(callstack_str.c_str(), path.str()); #endif if (!RemoveAllSnapshots(lock)) { Loading