nfsd: fix v4 reply caching
authorJ. Bruce Fields <bfields@redhat.com>
Fri, 16 Nov 2012 20:22:43 +0000 (15:22 -0500)
committerBen Hutchings <ben@decadent.org.uk>
Thu, 3 Jan 2013 03:33:16 +0000 (03:33 +0000)
commite88b9090be26e674bda11fbad6dd7056065c1196
tree5045e7c5e6b30d2879f15875092252fb47cb2cef
parent11ccb82b604fe91f67899d615b3b3a7b86e39134
nfsd: fix v4 reply caching

commit 57d276d71aef7d8305ff002a070cb98deb2edced upstream.

Very embarassing: 1091006c5eb15cba56785bd5b498a8d0b9546903 "nfsd: turn
on reply cache for NFSv4" missed a line, effectively leaving the reply
cache off in the v4 case.  I thought I'd tested that, but I guess not.

This time, wrote a pynfs test to confirm it works.

Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
fs/nfsd/nfssvc.c