From 2ed5bd573807b937c2dff3dc915d5987c2a8f1c9 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Tue, 25 Jun 2024 12:46:19 +0200 Subject: [PATCH] mountpoint-util: clarify that EOVERFLOW is visible on nfs4/autofs mounts --- src/basic/mountpoint-util.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/basic/mountpoint-util.c b/src/basic/mountpoint-util.c index c9cf1bcdac3..2b05abfbfe4 100644 --- a/src/basic/mountpoint-util.c +++ b/src/basic/mountpoint-util.c @@ -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; -- 2.47.3