Lines Matching refs:journal
78 journal_t *journal = EXT4_SB(inode->i_sb)->s_journal;
93 if (!journal) {
103 * Metadata is in the journal, we wait for proper transaction to
106 * data=journal:
108 * ext4_force_commit will write the file data into the journal and
112 * safe in-journal, which is all fsync() needs to ensure.
118 if (jbd2_log_start_commit(journal, commit_tid)) {
120 * When the journal is on a different device than the
124 * data=journal, all of the data blocks are written to
125 * the journal device.)
128 (journal->j_fs_dev != journal->j_dev) &&
129 (journal->j_flags & JBD2_BARRIER))
132 ret = jbd2_log_wait_commit(journal, commit_tid);
133 } else if (journal->j_flags & JBD2_BARRIER)