sunrpc/cache: recheck cache validity after cache_defer_req
authorNeilBrown <neilb@suse.de>
Tue, 4 Aug 2009 05:22:38 +0000 (15:22 +1000)
committerJ. Bruce Fields <bfields@citi.umich.edu>
Tue, 4 Aug 2009 20:21:44 +0000 (16:21 -0400)
commit989a19b9b10635eeb91c08cefe6cf82986bd4ee2
treedc18e7d07558c7a217daed108ec9d62ec9be4836
parent5c4d26390341732a8d614141a4cf4663610a1698
sunrpc/cache: recheck cache validity after cache_defer_req

If cache_defer_req did not leave the request on a queue, then it could
possibly have waited long enough that the cache became valid.  So check the
status after the call.

Signed-off-by: NeilBrown <neilb@suse.de>
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
net/sunrpc/cache.c