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>
Mon, 7 Nov 2011 21:47:25 +0000 (13:47 -0800)
commit19ed00b06ba1773249c2e307151816cf79dd20b0
tree3c36e829b95c8447dcca7f3442b4d2023a688653
parent2de551b315bd9e2cde90479bba5de1105d8411bd
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