Commit 0779c6f9 by Serge Hallyn

remove a few noisy, unhelpful INFOs in detect_shared_rootfs()

They are a nuisance. Signed-off-by: 's avatarSerge Hallyn <serge.hallyn@ubuntu.com>
parent f25f058d
...@@ -1268,7 +1268,6 @@ int detect_shared_rootfs(void) ...@@ -1268,7 +1268,6 @@ int detect_shared_rootfs(void)
if (!f) if (!f)
return 0; return 0;
while ((p = fgets(buf, LINELEN, f))) { while ((p = fgets(buf, LINELEN, f))) {
INFO("looking at .%s.", p);
for (p = buf, i=0; p && i < 4; i++) for (p = buf, i=0; p && i < 4; i++)
p = index(p+1, ' '); p = index(p+1, ' ');
if (!p) if (!p)
...@@ -1277,7 +1276,6 @@ int detect_shared_rootfs(void) ...@@ -1277,7 +1276,6 @@ int detect_shared_rootfs(void)
if (!p2) if (!p2)
continue; continue;
*p2 = '\0'; *p2 = '\0';
INFO("now p is .%s.", p);
if (strcmp(p+1, "/") == 0) { if (strcmp(p+1, "/") == 0) {
// this is '/'. is it shared? // this is '/'. is it shared?
p = index(p2+1, ' '); p = index(p2+1, ' ');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment