svn commit: samba r6448 - in trunk/source/libsmb: .

jra at samba.org jra at samba.org
Sun Apr 24 06:12:52 GMT 2005


Author: jra
Date: 2005-04-24 06:12:51 +0000 (Sun, 24 Apr 2005)
New Revision: 6448

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

Log:
Janitor for Steve.

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.

Jeremy.

Modified:
   trunk/source/libsmb/errormap.c


Changeset:
Modified: trunk/source/libsmb/errormap.c
===================================================================
--- trunk/source/libsmb/errormap.c	2005-04-24 02:59:40 UTC (rev 6447)
+++ trunk/source/libsmb/errormap.c	2005-04-24 06:12:51 UTC (rev 6448)
@@ -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