Whamcloud - gitweb
LU-4416 osd-ldiskfs: add check for 3 arg ext4_journal_start
[fs/lustre-release.git] / lustre / osd-ldiskfs / osd_scrub.c
index 031ae90..edffbe4 100644 (file)
@@ -108,7 +108,7 @@ static int osd_scrub_refresh_mapping(struct osd_thread_info *info,
 
        /* DTO_INDEX_INSERT is enough for other two ops:
         * delete/update, but save stack. */
-       th = ldiskfs_journal_start_sb(osd_sb(dev),
+       th = osd_journal_start_sb(osd_sb(dev), LDISKFS_HT_MISC,
                                osd_dto_credits_noquota[DTO_INDEX_INSERT]);
        if (IS_ERR(th)) {
                rc = PTR_ERR(th);