summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2002-12-11 18:52:32 +0000
committerJeremy Allison <jra@samba.org>2002-12-11 18:52:32 +0000
commitf7267c1235ae1b8c6a7324d508f5d435ff18de50 (patch)
treefefb4f9db35554af6fbcf1484d451a82b6c199d3
parent58ea9ea4494d2690fd3dbf7ab8433209ee2b5172 (diff)
downloadsamba-f7267c1235ae1b8c6a7324d508f5d435ff18de50.tar.gz
samba-f7267c1235ae1b8c6a7324d508f5d435ff18de50.tar.bz2
samba-f7267c1235ae1b8c6a7324d508f5d435ff18de50.zip
Fix write error returning EFBIG - found by Conrad.
Jeremy. (This used to be commit 2d63fc7760634308cc280e4d745a6f7398f75d20)
-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 }
};