diff options
author | Doug Nazar <nazard.michi@gmail.com> | 2010-07-19 10:58:47 -0400 |
---|---|---|
committer | Steve Dickson <steved@redhat.com> | 2010-07-19 10:58:47 -0400 |
commit | e2aa2c8c4cc21eb312a301855c2e211dedf93146 (patch) | |
tree | 9a0585684bd70f7d63912ef5c65dae22b28352fe /utils | |
parent | eafc5a8873b09482c71313f425080cce2031010a (diff) | |
download | nfs-utils-e2aa2c8c4cc21eb312a301855c2e211dedf93146.tar.gz nfs-utils-e2aa2c8c4cc21eb312a301855c2e211dedf93146.tar.xz nfs-utils-e2aa2c8c4cc21eb312a301855c2e211dedf93146.zip |
mountd: Fix memcmp result comparison error for uuid match.
Fixed Small typo in the new fs uuid comparison code
Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'utils')
-rw-r--r-- | utils/mountd/cache.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) |