vfs_error_inject: add EBADF error
authorRalph Boehme <slow@samba.org>
Fri, 23 Nov 2018 09:18:10 +0000 (10:18 +0100)
committerKarolin Seeger <kseeger@samba.org>
Thu, 13 Dec 2018 12:48:26 +0000 (13:48 +0100)
Bug: https://bugzilla.samba.org/show_bug.cgi?id=13688

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit 523a9b312c9f09178a5afefb48343e684e41d817)

source3/modules/vfs_error_inject.c

index 9f0a25fb73f15c103445d0a8c820c4c8fdd9f839..c8c3ea4701ffca30882d202421c7fc73629ee09c 100644 (file)
@@ -28,6 +28,7 @@ struct unix_error_map {
        int error;
 } unix_error_map_array[] = {
        {       "ESTALE",       ESTALE  },
+       {       "EBADF",        EBADF   },
 };
 
 static int find_unix_error_from_string(const char *err_str)