Whamcloud - gitweb
LU-12275 sec: deal with encrypted object size
[fs/lustre-release.git] / lustre / ofd / ofd_io.c
index 9305d8e..f836194 100644 (file)
@@ -1310,7 +1310,7 @@ retry:
                GOTO(out_unlock, rc = -ENOENT);
 
        if (likely(!fake_write)) {
-               rc = dt_write_commit(env, o, lnb, niocount, th);
+               rc = dt_write_commit(env, o, lnb, niocount, th, oa->o_size);
                if (rc)
                        GOTO(out_unlock, rc);
        }