]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8d4c28230c731df31c96587b02f07472f5576580
tree8a95e9d7ad98c0a8ddd4e7ffb19b7ab9c9bb32c3
parenteef33baa612adf759afee0b0ecf7ef01f3234d20
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