diff --git a/src/add-ons/kernel/file_systems/userlandfs/server/haiku/haiku_kernel_emu.cpp b/src/add-ons/kernel/file_systems/userlandfs/server/haiku/haiku_kernel_emu.cpp index 0a85212ffe..550415d34f 100644 --- a/src/add-ons/kernel/file_systems/userlandfs/server/haiku/haiku_kernel_emu.cpp +++ b/src/add-ons/kernel/file_systems/userlandfs/server/haiku/haiku_kernel_emu.cpp @@ -307,7 +307,7 @@ do_iterative_fd_io(int fd, io_request *_request, iterative_io_get_vecs getVecs, uint32 fileVecCount = DoIterativeFDIORequest::MAX_VECS; status_t error = getVecs(_cookie, _request, request->offset, request->length, fileVecs, &fileVecCount); - if (error != B_OK) + if (error != B_OK && error != B_BUFFER_OVERFLOW) return error; // create a cookie