knfsd: Further simplify the cache lookup
authorTrond Myklebust <trondmy@gmail.com>
Wed, 3 Oct 2018 17:11:51 +0000 (13:11 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Mon, 29 Oct 2018 20:58:04 +0000 (16:58 -0400)
commited00c2f65267f3a5a8727ac74a90d32470f91679
tree8a95e9d7ad98c0a8ddd4e7ffb19b7ab9c9bb32c3
parent76ecec21197ab23bb821d8bf584949013efd0494
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>
fs/nfsd/cache.h
fs/nfsd/nfscache.c