mountd: Remove outdated/misleading comment
Subsystems (2)
PATCH 1/1 mountd: Remove outdated/misleading comment
It became wrong when commit 78240c41be17bd20d5fb5b70b6f470d8e779adee ("mountd: fix mount issue due to comparison with uninitialized uuid") was applied back in 2015. The final case of the switch statement no longer ends with a 'return true' and the final 'return false' is relevant now.
Signed-off-by Christian Bartolomäus <[email protected]>
--- utils/mountd/cache.c | 1 - 1 file changed, 1 deletion(-)
utils/mountd/cache.c +0 -1
@@ -672,7 +672,6 @@ static bool match_fsid(struct parsed_fsid *parsed, nfs_export *exp, char *path)if (memcmp (u, parsed->fhuuid, parsed->uuidlen) ==0 )return true; } -/* Well, unreachable, actually: */ return false; }
Quoted 6 lines · Christian Bartolomäus
It became wrong when commit
78240c41be17bd20d5fb5b70b6f470d8e779adee("mountd: fix mount issue due to comparison with uninitialized uuid") was applied back in 2015. The final case of the switch statement no longer ends with a 'return true' and the final 'return false' is relevant now.Signed-off-by Christian Bartolomäus <[email protected]>
Committed... (tag: nfs-utils-2-4-3-rc5)
steved.
Quoted 16 lines
--- utils/mountd/cache.c | 1 - 1 file changed, 1 deletion(-)utils/mountd/cache.c +0
-1@@ -672,7 +672,6 @@ static bool match_fsid(struct parsed_fsid *parsed, nfs_export *exp, char *path)if (memcmp (u, parsed->fhuuid, parsed->uuidlen) ==0 )return true; } -/* Well, unreachable, actually: */ return false; }