nfsd: Revert "nfsd: check for oversized NFSv2/v3 arguments"
authorJ. Bruce Fields <bfields@redhat.com>
Tue, 16 May 2017 19:57:42 +0000 (15:57 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Tue, 16 May 2017 20:16:30 +0000 (16:16 -0400)
commit9512a16b0e1217bbef73d276a67c28b5fbb46512
tree3ac6cb7ced49e46ff3cc5278fa9de26240531968
parent2ea659a9ef488125eb46da6eb571de5eae5c43f6
nfsd: Revert "nfsd: check for oversized NFSv2/v3 arguments"

This reverts commit 51f567777799 "nfsd: check for oversized NFSv2/v3
arguments", which breaks support for NFSv3 ACLs.

That patch was actually an earlier draft of a fix for the problem that
was eventually fixed by e6838a29ecb "nfsd: check for oversized NFSv2/v3
arguments".  But somehow I accidentally left this earlier draft in the
branch that was part of my 2.12 pull request.

Reported-by: Eryu Guan <eguan@redhat.com>
Cc: stable@vger.kernel.org
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/nfs3xdr.c
fs/nfsd/nfsxdr.c
include/linux/sunrpc/svc.h