mountpoint-util: clarify that EOVERFLOW is visible on nfs4/autofs mounts

This commit is contained in:
Lennart Poettering
2024-07-01 15:45:15 +02:00
parent 4c39ab9b40
commit 2ed5bd5738
+3 -3
View File
@@ -106,9 +106,9 @@ int name_to_handle_at_loop(
return 0;
}
/* If name_to_handle_at() didn't increase the byte size, then this EOVERFLOW is caused by something
* else (apparently EOVERFLOW is returned for untriggered nfs4 mounts sometimes), not by the too small
* buffer. In that case propagate EOVERFLOW */
/* If name_to_handle_at() didn't increase the byte size, then this EOVERFLOW is caused by
* something else (apparently EOVERFLOW is returned for untriggered nfs4 autofs mounts
* sometimes), not by the too small buffer. In that case propagate EOVERFLOW */
if (h->handle_bytes <= n)
return -EOVERFLOW;