nfsd4: fix seqid_mutating_error
authorJ. Bruce Fields <bfields@redhat.com>
Wed, 10 Aug 2011 23:16:22 +0000 (19:16 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 11 Nov 2011 17:35:57 +0000 (09:35 -0800)
commite3d0b28c5ec3bf7628a9707a6392cdb4adebabba
tree586c66fd2784754812217bedbcc665e2f6d3a2d4
parent80931f71f0e7c151aa260590c655d536c967af56
nfsd4: fix seqid_mutating_error

commit 576163005de286bbd418fcb99cfd0971523a0c6d upstream.

The set of errors here does *not* agree with the set of errors specified
in the rfc!

While we're there, turn this macros into a function, for the usual
reasons, and move it to the one place where it's actually used.

Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
fs/nfsd/nfs4xdr.c
fs/nfsd/state.h