nfsd: Reorder nfsd_cache_match to check more powerful discriminators first
authorTrond Myklebust <trond.myklebust@primarydata.com>
Wed, 6 Aug 2014 17:44:25 +0000 (13:44 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Sun, 17 Aug 2014 16:00:13 +0000 (12:00 -0400)
commitef9b16dc6de692865e898a35e750119b5b9c82c5
treebc051d9207bc8a6b5547dbb1232ccf92c5127b3e
parent89a26b3d295d35fefcc994cb0cf3817d0ff432d5
nfsd: Reorder nfsd_cache_match to check more powerful discriminators first

We would normally expect the xid and the checksum to be the best
discriminators. Check them before looking at the procedure number,
etc.

Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/nfscache.c