From: Ralph Boehme Date: Fri, 23 Nov 2018 09:18:10 +0000 (+0100) Subject: vfs_error_inject: add EBADF error X-Git-Tag: samba-4.8.9~41 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b22e8f355bdb013dfdb46d2fdafaa0d8e57387b8;p=thirdparty%2Fsamba.git vfs_error_inject: add EBADF error Bug: https://bugzilla.samba.org/show_bug.cgi?id=13688 Signed-off-by: Ralph Boehme Reviewed-by: Jeremy Allison (cherry picked from commit 523a9b312c9f09178a5afefb48343e684e41d817) --- diff --git a/source3/modules/vfs_error_inject.c b/source3/modules/vfs_error_inject.c index 9f0a25fb73f..c8c3ea4701f 100644 --- a/source3/modules/vfs_error_inject.c +++ b/source3/modules/vfs_error_inject.c @@ -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)