diff options
author | Christian Bartolom?us <use_v6@aglaz.de> | 2020-01-16 15:47:57 -0500 |
---|---|---|
committer | Steve Dickson <steved@redhat.com> | 2020-01-16 15:47:57 -0500 |
commit | 2f8417778b2a58b9a482b5f5e0769e97f3edc1d0 (patch) | |
tree | 05266bb9a89d14082c64b6dff877167c28872c32 | |
parent | 6eed99324f7e82d9b984349fd57f28f8094ed907 (diff) | |
download | nfs-utils-2f8417778b2a58b9a482b5f5e0769e97f3edc1d0.tar.gz |
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 <use_v6@aglaz.de>
Signed-off-by: Steve Dickson <steved@redhat.com>
-rw-r--r-- | utils/mountd/cache.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/utils/mountd/cache.c b/utils/mountd/cache.c index e5186c78..8f54e37b 100644 --- a/utils/mountd/cache.c +++ b/utils/mountd/cache.c @@ -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; } |