summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2002-12-11 18:52:21 +0000
committerJeremy Allison <jra@samba.org>2002-12-11 18:52:21 +0000
commitf2def025e277081ac86d68060fed3e10994eaa44 (patch)
treeb29124dbb21158fd1c3d11b7ac52015b24c2ab1f
parent3fc4d88d99b8629e7e3f97d6e70254ef0865a5e5 (diff)
downloadsamba-f2def025e277081ac86d68060fed3e10994eaa44.tar.gz
samba-f2def025e277081ac86d68060fed3e10994eaa44.tar.bz2
samba-f2def025e277081ac86d68060fed3e10994eaa44.zip
Fix write error returning EFBIG - found by Conrad.
Jeremy. (This used to be commit e258887f508db3d2c923f393f0104e7cf1bd6545)
-rw-r--r--source3/libsmb/errormap.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/libsmb/errormap.c b/source3/libsmb/errormap.c
index 7c28c7e8aa..8bd29b55c0 100644
--- a/source3/libsmb/errormap.c
+++ b/source3/libsmb/errormap.c
@@ -1513,6 +1513,9 @@ const struct unix_error_map unix_dos_nt_errmap[] = {
#ifdef ENAMETOOLONG
{ ENAMETOOLONG, ERRDOS, 206, NT_STATUS_OBJECT_NAME_INVALID },
#endif
+#ifdef EFBIG
+ { EFBIG, ERRHRD, ERRdiskfull, NT_STATUS_DISK_FULL },
+#endif
{ 0, 0, 0, NT_STATUS_OK }
};