summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--source/smbd/reply.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/smbd/reply.c b/source/smbd/reply.c
index 923128fd933..ceef71fd38a 100644
--- a/source/smbd/reply.c
+++ b/source/smbd/reply.c
@@ -2641,7 +2641,7 @@ int allocate_space_error(char *inbuf,char *outbuf, int errno_val)
if (errno_val == ENOSPC) {
#endif
SSVAL(outbuf,smb_flg2,SVAL(outbuf, smb_flg2) | FLAGS2_32_BIT_ERROR_CODES);
- return(ERROR(0,errno == ENOSPC ? NT_STATUS_DISK_FULL : NT_STATUS_QUOTA_EXCEEDED));
+ return(ERROR(0,NT_STATUS_DISK_FULL));
}
return (UNIXERROR(ERRHRD,ERRdiskfull));