From: Marc Eshel <eshel@xxxxxxxxxxxxxxx> Signed-off-by: Benny Halevy <bhalevy@xxxxxxxxxxx> --- include/linux/nfsd/nfsd.h | 16 ++++++++++++++++ 1 files changed, 16 insertions(+), 0 deletions(-) diff --git a/include/linux/nfsd/nfsd.h b/include/linux/nfsd/nfsd.h index 2126940..9703540 100644 --- a/include/linux/nfsd/nfsd.h +++ b/include/linux/nfsd/nfsd.h @@ -251,6 +251,22 @@ void nfsd_lockd_shutdown(void); #define nfserr_locked __constant_htonl(NFSERR_LOCKED) #define nfserr_wrongsec __constant_htonl(NFSERR_WRONGSEC) #define nfserr_replay_me __constant_htonl(NFSERR_REPLAY_ME) +#define nfserr_badiomode __constant_htonl(NFSERR_BADIOMODE) +#define nfserr_badlayout __constant_htonl(NFSERR_BADLAYOUT) +#define nfserr_bad_session_digest __constant_htonl(NFSERR_BAD_SESSION_DIGEST) +#define nfserr_badsession __constant_htonl(NFSERR_BADSESSION) +#define nfserr_badslot __constant_htonl(NFSERR_BADSLOT) +#define nfserr_complete_already __constant_htonl(NFSERR_COMPLETE_ALREADY) +#define nfserr_conn_not_bound_to_session __constant_htonl(NFSERR_CONN_NOT_BOUND_TO_SESSION) +#define nfserr_deleg_already_wanted __constant_htonl(NFSERR_DELEG_ALREADY_WANTED) +#define nfserr_dirdeleg_unavail __constant_htonl(NFSERR_DIRDELEG_UNAVAIL) +#define nfserr_layouttrylater __constant_htonl(NFSERR_LAYOUTTRYLATER) +#define nfserr_layoutunavailable __constant_htonl(NFSERR_LAYOUTUNAVAILABLE) +#define nfserr_nomatching_layout __constant_htonl(NFSERR_NOMATCHING_LAYOUT) +#define nfserr_recallconflict __constant_htonl(NFSERR_RECALLCONFLICT) +#define nfserr_unknown_layouttype __constant_htonl(NFSERR_UNKNOWN_LAYOUTTYPE) +#define nfserr_seq_misordered __constant_htonl(NFSERR_SEQ_MISORDERED) +#define nfserr_sequence_pos __constant_htonl(NFSERR_SEQUENCE_POS) /* error codes for internal use */ /* if a request fails due to kmalloc failure, it gets dropped. -- 1.6.0.2 -- To unsubscribe from this list: send the line "unsubscribe linux-nfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html