diff options
author | Jeremy Allison <jra@samba.org> | 2001-08-07 19:18:27 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2001-08-07 19:18:27 +0000 |
commit | 64c24ebf6d0b159a744739cf14b1b45fd3dda01d (patch) | |
tree | 5d95dd82e7e6bc686944b38caed982bde5c19761 | |
parent | 0c218e1abe237e23014332b014ec06f2e9d27e5e (diff) | |
download | samba-64c24ebf6d0b159a744739cf14b1b45fd3dda01d.tar.gz samba-64c24ebf6d0b159a744739cf14b1b45fd3dda01d.tar.bz2 samba-64c24ebf6d0b159a744739cf14b1b45fd3dda01d.zip |
Always return NT_STATUS_DISK_FULL, even for quota errors.
Jeremy.
(This used to be commit e4a295b730b3d1ee784c896611d184c7699c74e7)
-rw-r--r-- | source3/smbd/reply.c | 2 |
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)); |