Whamcloud - gitweb
LU-11561 ofd: return attr syncjournal to sync_journal
[fs/lustre-release.git] / lustre / ofd / ofd_io.c
index f61d24a..908613f 100644 (file)
@@ -1150,7 +1150,7 @@ retry:
        if (IS_ERR(th))
                GOTO(out, rc = PTR_ERR(th));
 
-       th->th_sync |= ofd->ofd_syncjournal;
+       th->th_sync |= ofd->ofd_sync_journal;
        if (th->th_sync == 0) {
                for (i = 0; i < niocount; i++) {
                        if (!(lnb[i].lnb_flags & OBD_BRW_ASYNC)) {