linux/fs/smb/client/smberr.h

/* SPDX-License-Identifier: LGPL-2.1 */
/*
 *
 *   Copyright (c) International Business Machines  Corp., 2002,2004
 *   Author(s): Steve French ([email protected])
 *
 *   See Error Codes section of the SNIA CIFS Specification
 *   for more information
 *
 */

#define SUCCESS
#define ERRDOS
#define ERRSRV
#define ERRHRD
#define ERRCMD

/* The following error codes may be generated with the SUCCESS error class.*/

/*#define SUCCESS	0	The request was successful. */

/* The following error codes may be generated with the ERRDOS error class.*/

#define ERRbadfunc
#define ERRbadfile
#define ERRbadpath
#define ERRnofids
#define ERRnoaccess
#define ERRbadfid
#define ERRbadmcb
#define ERRnomem
#define ERRbadmem
#define ERRbadenv
#define ERRbadformat
#define ERRbadaccess
#define ERRbaddata
#define ERRbaddrive
#define ERRremcd
#define ERRdiffdevice
#define ERRnofiles
#define ERRwriteprot
#define ERRgeneral
#define ERRbadshare
#define ERRlock
#define ERRunsup
#define ERRnosuchshare
#define ERRfilexists
#define ERRinvparm
#define ERRdiskfull
#define ERRinvname
#define ERRinvlevel
#define ERRdirnotempty
#define ERRnotlocked
#define ERRcancelviolation
#define ERRalreadyexists
#define ERRbadpipe
#define ERRpipebusy
#define ERRpipeclosing
#define ERRnotconnected
#define ERRmoredata
#define ERReasnotsupported
#define ErrQuota
#define ErrNotALink

/* Below errors are used internally (do not come over the wire) for passthrough
   from STATUS codes to POSIX only  */
#define ERRsymlink
#define ErrTooManyLinks

/* Following error codes may be generated with the ERRSRV error class.*/

#define ERRerror
#define ERRbadpw
#define ERRbadtype
#define ERRaccess
#define ERRinvtid
#define ERRinvnetname
#define ERRinvdevice
#define ERRqfull
#define ERRqtoobig
#define ERRqeof
#define ERRinvpfid
#define ERRsmbcmd
#define ERRsrverror
#define ERRbadBID
#define ERRfilespecs
#define ERRbadLink
#define ERRbadpermits
#define ERRbadPID
#define ERRsetattrmode
#define ERRpaused
#define ERRmsgoff
#define ERRnoroom
#define ERRrmuns
#define ERRtimeout
#define ERRnoresource
#define ERRtoomanyuids
#define ERRbaduid
#define ERRusempx
#define ERRusestd
#define ERR_NOTIFY_ENUM_DIR
#define ERRnoSuchUser
#define ERRaccountexpired
#define ERRbadclient
#define ERRbadLogonTime
#define ERRpasswordExpired
#define ERRnetlogonNotStarted
#define ERRnosupport