git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
61d40ac
)
r6447: Add missing error mapping for EMLINK to NT_STATUS_TOO_MANY_LINKS (we have...
author
Steve French
<sfrench@samba.org>
Sun, 24 Apr 2005 02:59:40 +0000
(
02:59
+0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 15:56:41 +0000
(10:56 -0500)
in clierror already). This fixes the return code when we try to hardlink from a client.
source/libsmb/errormap.c
patch
|
blob
|
history
diff --git
a/source/libsmb/errormap.c
b/source/libsmb/errormap.c
index 8ac1aed923ba598bfc3d68ef6c0b760f53956879..c79561bda87a54cebdfd1dc9a1b3811b6c60d771 100644
(file)
--- a/
source/libsmb/errormap.c
+++ b/
source/libsmb/errormap.c
@@
-1505,6
+1505,7
@@
const struct unix_error_map unix_dos_nt_errmap[] = {
{ ENOSPC, ERRHRD, ERRdiskfull, NT_STATUS_DISK_FULL },
{ ENOMEM, ERRDOS, ERRnomem, NT_STATUS_NO_MEMORY },
{ EISDIR, ERRDOS, ERRnoaccess, NT_STATUS_FILE_IS_A_DIRECTORY},
+ { EMLINK, ERRDOS, ERRgeneral, NT_STATUS_TOO_MANY_LINKS },
#ifdef EDQUOT
{ EDQUOT, ERRHRD, ERRdiskfull, NT_STATUS_DISK_FULL },
#endif