]> git.hungrycats.org Git - linux/commit
nfsd: fix v4 reply caching
authorJ. Bruce Fields <bfields@redhat.com>
Fri, 16 Nov 2012 20:22:43 +0000 (15:22 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 11 Jan 2013 17:18:37 +0000 (09:18 -0800)
commit9dbe75d2b4111884596c498ca0acbaf71952ae97
treeeabf222260695ce91e6fe766a0f656d016ab96fb
parent7063a3eea85cf9246cdc917096d25d96f1cc341a
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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/nfsd/nfssvc.c