summaryrefslogtreecommitdiffstats
path: root/source3/smbd
diff options
context:
space:
mode:
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/reply.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/reply.c b/source3/smbd/reply.c
index d31c83da9b..3ba1d4eea9 100644
--- a/source3/smbd/reply.c
+++ b/source3/smbd/reply.c
@@ -2458,7 +2458,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));