[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xen-cvs
Subject:    [Xen-changelog] [xen stable-4.6] errno: introduce EISDIR/EROFS/ENOTEMPTY to the ABI
From:       patchbot () xen ! org
Date:       2019-06-26 10:12:33
Message-ID: E1hg4un-00008d-RX () xenbits ! xenproject ! org
[Download RAW message or body]

commit c730c348c3967be554ab8638cff0777a9e931cd9
Author:     Andrew Cooper <andrew.cooper3@citrix.com>
AuthorDate: Thu Mar 3 08:56:48 2016 +0100
Commit:     Ian Jackson <ian.jackson@eu.citrix.com>
CommitDate: Wed May 29 12:07:22 2019 +0100

    errno: introduce EISDIR/EROFS/ENOTEMPTY to the ABI
    
    These POSIX errnos are expected by other areas of the Xen public interface,
    specifically public/io/xs_wire.h
    
    Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
    Reviewed-by: Doug Goldstein <cardoe@cardoe.com>
    Acked-by: Jan Beulich <jbeulich@suse.com>
    (cherry picked from commit 7825ae12df1f6d48c4d009cbbdf5a55aff27291b)
---
 xen/include/public/errno.h | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/xen/include/public/errno.h b/xen/include/public/errno.h
index 8c88bb1d40..c3481a5ef8 100644
--- a/xen/include/public/errno.h
+++ b/xen/include/public/errno.h
@@ -49,16 +49,19 @@ XEN_ERRNO(EBUSY,	16)	/* Device or resource busy */
 XEN_ERRNO(EEXIST,	17)	/* File exists */
 XEN_ERRNO(EXDEV,	18)	/* Cross-device link */
 XEN_ERRNO(ENODEV,	19)	/* No such device */
+XEN_ERRNO(EISDIR,	21)	/* Is a directory */
 XEN_ERRNO(EINVAL,	22)	/* Invalid argument */
 XEN_ERRNO(ENFILE,	23)	/* File table overflow */
 XEN_ERRNO(EMFILE,	24)	/* Too many open files */
 XEN_ERRNO(ENOSPC,	28)	/* No space left on device */
+XEN_ERRNO(EROFS,	30)	/* Read-only file system */
 XEN_ERRNO(EMLINK,	31)	/* Too many links */
 XEN_ERRNO(EDOM,		33)	/* Math argument out of domain of func */
 XEN_ERRNO(ERANGE,	34)	/* Math result not representable */
 XEN_ERRNO(EDEADLK,	35)	/* Resource deadlock would occur */
 XEN_ERRNO(ENAMETOOLONG,	36)	/* File name too long */
 XEN_ERRNO(ENOLCK,	37)	/* No record locks available */
+XEN_ERRNO(ENOTEMPTY,	39)	/* Directory not empty */
 XEN_ERRNO(ENOSYS,	38)	/* Function not implemented */
 XEN_ERRNO(ENODATA,	61)	/* No data available */
 XEN_ERRNO(ETIME,	62)	/* Timer expired */
--
generated by git-patchbot for /home/xen/git/xen.git#stable-4.6

_______________________________________________
Xen-changelog mailing list
Xen-changelog@lists.xenproject.org
https://lists.xenproject.org/xen-changelog
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic