From e2aa2c8c4cc21eb312a301855c2e211dedf93146 Mon Sep 17 00:00:00 2001 From: Doug Nazar Date: Mon, 19 Jul 2010 10:58:47 -0400 Subject: [PATCH] mountd: Fix memcmp result comparison error for uuid match. Fixed Small typo in the new fs uuid comparison code Signed-off-by: Steve Dickson --- utils/mountd/cache.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/mountd/cache.c b/utils/mountd/cache.c index 9e1b164..bf18a9a 100644 --- a/utils/mountd/cache.c +++ b/utils/mountd/cache.c @@ -513,7 +513,7 @@ void nfsd_fh(FILE *f) for (type = 0; uuid_by_path(path, type, uuidlen, u); type++) - if (memcmp(u, fhuuid, uuidlen) != 0) + if (memcmp(u, fhuuid, uuidlen) == 0) break; if (memcmp(u, fhuuid, uuidlen) != 0) -- 2.39.2