]> 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)
commit04a84ac9b7cc720d4103ce5139c05e62b29c119a
tree8a95e9d7ad98c0a8ddd4e7ffb19b7ab9c9bb32c3
parent15f3de8e8fc08066c9f7ab53b955026916715695
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