svn commit: samba r6447 - in branches/SAMBA_3_0/source/libsmb: .

sfrench at samba.org sfrench at samba.org
Sun Apr 24 02:59:40 GMT 2005


Author: sfrench
Date: 2005-04-24 02:59:40 +0000 (Sun, 24 Apr 2005)
New Revision: 6447

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=6447

Log:
Add missing error mapping for EMLINK to NT_STATUS_TOO_MANY_LINKS (we have it the other direction 
in clierror already).  This fixes the return code when we try to hardlink from a client.

Modified:
   branches/SAMBA_3_0/source/libsmb/errormap.c


Changeset:
Modified: branches/SAMBA_3_0/source/libsmb/errormap.c
===================================================================
--- branches/SAMBA_3_0/source/libsmb/errormap.c	2005-04-23 18:09:19 UTC (rev 6446)
+++ branches/SAMBA_3_0/source/libsmb/errormap.c	2005-04-24 02:59:40 UTC (rev 6447)
@@ -1505,6 +1505,7 @@
 	{ 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



More information about the samba-cvs mailing list