Commit 231414b6 authored by Ramon Nou's avatar Ramon Nou
Browse files

bugfix

parent 14f19988
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1109,7 +1109,7 @@ gkfs_do_write(gkfs::filemap::OpenFile& file, const char* buf, size_t count,
        // concat read buffer (0..offset) with the rest of the chunk and write
        // the first chunk. Then do a forward write of the rest of the data.
        if(gkfs::config::io::enable_chunk_read_before_write &&
           gkfs::config::rpc::chunksize > 0 &&
           offset > 0 &&
           offset < gkfs::config::rpc::chunksize &&
           gkfs::config::rpc::chunksize < count) {
            // Read the first chunk