Commit 9881b120 authored by Ramon Nou's avatar Ramon Nou
Browse files

Updated size bug

parent 77e31493
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -1035,7 +1035,7 @@ gkfs_do_write(gkfs::filemap::OpenFile& file, const char* buf, size_t count,
    // Only compute Erasure codes if we do not have enabled the ondemand
    // environment variable
    if(CTX->get_ec_ondemand() == false) {
        auto res = gkfs_ecc_write(file, count, offset, updated_size);
        auto res = gkfs_ecc_write(file, count, offset, write_size);
        if(res) {
            LOG(ERROR, "erasure code writing failed");
        }