diff options
author | J. Bruce Fields <bfields@redhat.com> | 2011-08-10 19:16:22 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-11-11 09:35:57 -0800 |
commit | e3d0b28c5ec3bf7628a9707a6392cdb4adebabba (patch) | |
tree | 586c66fd2784754812217bedbcc665e2f6d3a2d4 /fs/nfsd/state.h | |
parent | 80931f71f0e7c151aa260590c655d536c967af56 (diff) | |
download | kernel_samsung_smdk4412-e3d0b28c5ec3bf7628a9707a6392cdb4adebabba.tar.gz kernel_samsung_smdk4412-e3d0b28c5ec3bf7628a9707a6392cdb4adebabba.tar.bz2 kernel_samsung_smdk4412-e3d0b28c5ec3bf7628a9707a6392cdb4adebabba.zip |
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>
Diffstat (limited to 'fs/nfsd/state.h')
-rw-r--r-- | fs/nfsd/state.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/fs/nfsd/state.h b/fs/nfsd/state.h index 6bd2f3c21f2..858c7baea2d 100644 --- a/fs/nfsd/state.h +++ b/fs/nfsd/state.h @@ -447,12 +447,6 @@ struct nfs4_stateid { #define WR_STATE 0x00000020 #define CLOSE_STATE 0x00000040 -#define seqid_mutating_err(err) \ - (((err) != nfserr_stale_clientid) && \ - ((err) != nfserr_bad_seqid) && \ - ((err) != nfserr_stale_stateid) && \ - ((err) != nfserr_bad_stateid)) - struct nfsd4_compound_state; extern __be32 nfs4_preprocess_stateid_op(struct nfsd4_compound_state *cstate, |