* fhandler.cc (fhandler_base::raw_write): Remove STATUS_DISK_FULL

special handling.
This commit is contained in:
Corinna Vinschen 2010-07-23 10:08:34 +00:00
parent 125c76f59e
commit cb6bfcff1a
2 changed files with 5 additions and 3 deletions

View File

@ -1,3 +1,8 @@
2010-07-23 Corinna Vinschen <corinna@vinschen.de>
* fhandler.cc (fhandler_base::raw_write): Remove STATUS_DISK_FULL
special handling.
2010-07-19 Eric Blake <eblake@redhat.com> 2010-07-19 Eric Blake <eblake@redhat.com>
* mktemp.cc (_gettemp): Add flags argument. All callers updated. * mktemp.cc (_gettemp): Add flags argument. All callers updated.

View File

@ -290,14 +290,11 @@ fhandler_base::raw_write (const void *ptr, size_t len)
NULL); NULL);
if (!NT_SUCCESS (status)) if (!NT_SUCCESS (status))
{ {
if (status == STATUS_DISK_FULL && io.Information > 0)
goto written;
__seterrno_from_nt_status (status); __seterrno_from_nt_status (status);
if (get_errno () == EPIPE) if (get_errno () == EPIPE)
raise (SIGPIPE); raise (SIGPIPE);
return -1; return -1;
} }
written:
return io.Information; return io.Information;
} }