diff options
author | Jeremy Allison <jra@samba.org> | 2007-10-30 18:18:40 -0700 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2007-10-30 18:18:40 -0700 |
commit | b7088bb9c2a00d4717b9a7efa4bddc0c005f4efb (patch) | |
tree | b829875fc70b737046207db3104f600754af3aff /source/smbd | |
parent | 247675695dfbff503b5792de62f8bb1567ea2327 (diff) | |
download | samba-b7088bb9c2a00d4717b9a7efa4bddc0c005f4efb.tar.gz samba-b7088bb9c2a00d4717b9a7efa4bddc0c005f4efb.tar.xz samba-b7088bb9c2a00d4717b9a7efa4bddc0c005f4efb.zip |
Handle the disk full error case correctly.
Jeremy.
Diffstat (limited to 'source/smbd')
-rw-r--r-- | source/smbd/reply.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/smbd/reply.c b/source/smbd/reply.c index 4c1ed56d4ff..531e71fe73a 100644 --- a/source/smbd/reply.c +++ b/source/smbd/reply.c @@ -3698,7 +3698,7 @@ void reply_writeunlock(connection_struct *conn, struct smb_request *req) return; } - if(((nwritten == 0) && (numtowrite != 0))||(nwritten < 0)) { + if(((nwritten < numtowrite) && (numtowrite != 0))||(nwritten < 0)) { reply_unixerror(req, ERRHRD, ERRdiskfull); END_PROFILE(SMBwriteunlock); return; |