Index: chrome/browser/chromeos/extensions/file_browser_private_api.cc |
diff --git a/chrome/browser/chromeos/extensions/file_browser_private_api.cc b/chrome/browser/chromeos/extensions/file_browser_private_api.cc |
index 9fd6d915b41468b8899a0119081daea68f357c35..2ba1a7d00f3980976e403bdfd6e7885301227851 100644 |
--- a/chrome/browser/chromeos/extensions/file_browser_private_api.cc |
+++ b/chrome/browser/chromeos/extensions/file_browser_private_api.cc |
@@ -292,7 +292,7 @@ void GetSizeStatsOnBlockingPool(const std::string& mount_path, |
uint64_t remaining_size_in_bytes = 0; |
struct statvfs stat = {}; // Zero-clear |
Mark Mentovai
2013/03/22 22:17:40
You can get rid of the initialization here too, it
|
- if (statvfs(mount_path.c_str(), &stat) == 0) { |
+ if (HANDLE_EINTR(statvfs(mount_path.c_str(), &stat)) == 0) { |
total_size_in_bytes = |
static_cast<uint64_t>(stat.f_blocks) * stat.f_frsize; |
remaining_size_in_bytes = |