]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - fs/jbd2/checkpoint.c
Merge branch 'packaging' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek...
[karo-tx-linux.git] / fs / jbd2 / checkpoint.c
index 30beb11ef928f35c75d52e4d1f68857fe370172c..076d1cc44f95858f16c4c66d3a9e4c2475bd1741 100644 (file)
@@ -530,7 +530,8 @@ int jbd2_cleanup_journal_tail(journal_t *journal)
         */
        if ((journal->j_fs_dev != journal->j_dev) &&
            (journal->j_flags & JBD2_BARRIER))
-               blkdev_issue_flush(journal->j_fs_dev, NULL);
+               blkdev_issue_flush(journal->j_fs_dev, GFP_KERNEL, NULL,
+                       BLKDEV_IFL_WAIT);
        if (!(journal->j_flags & JBD2_ABORT))
                jbd2_journal_update_superblock(journal, 1);
        return 0;