commit | 6f70c92aeec831ff010805c6ca5c9748bbf7f6d1 | [log] [tgz] |
---|---|---|
author | Eric Biggers <ebiggers@google.com> | Mon Oct 19 16:05:17 2020 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Mon Oct 19 16:05:17 2020 +0000 |
tree | 893a3c9a147de784629e0072730187d66a93a62a | |
parent | e9023dc7bb621e4edd5b02cdf58f98579ebcd8f7 [diff] | |
parent | 10724d93a1ee63109c0354c60b0975e13c6c8a85 [diff] |
Merge "Silence useless LOOP_GET_STATUS64 warnings"
diff --git a/Loop.cpp b/Loop.cpp index 9fa876c..87f105d 100644 --- a/Loop.cpp +++ b/Loop.cpp
@@ -150,7 +150,9 @@ struct loop_info64 li; if (ioctl(fd.get(), LOOP_GET_STATUS64, &li) < 0) { - PLOG(WARNING) << "Failed to LOOP_GET_STATUS64 " << path; + if (errno != ENXIO) { + PLOG(WARNING) << "Failed to LOOP_GET_STATUS64 " << path; + } continue; }