knfsd: Further simplify the cache lookup

Order the structure so that the key can be compared using memcmp().

Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
This commit is contained in:
Trond Myklebust 2018-10-03 13:11:51 -04:00 • committed by J. Bruce Fields
commit ed00c2f652
2 changed files with 27 additions and 37 deletions