mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-23 23:21:46 +00:00
Merge branch 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4
* 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4:
ext4: fix data corruption regression by reverting commit 6de9843dab
ext4: Allow indirect-block file to grow the file size to max file size
ext4: allow an active handle to be started when freezing
ext4: sync the directory inode in ext4_sync_parent()
ext4: init timer earlier to avoid a kernel panic in __save_error_info
jbd2: fix potential memory leak on transaction commit
ext4: fix a double free in ext4_register_li_request
ext4: fix credits computing for indirect mapped files
ext4: remove unnecessary [cm]time update of quota file
jbd2: move bdget out of critical section
This commit is contained in:
commit
a97b52022a
6 changed files with 102 additions and 35 deletions
|
@ -105,6 +105,8 @@ static int journal_submit_commit_record(journal_t *journal,
|
|||
int ret;
|
||||
struct timespec now = current_kernel_time();
|
||||
|
||||
*cbh = NULL;
|
||||
|
||||
if (is_journal_aborted(journal))
|
||||
return 0;
|
||||
|
||||
|
@ -806,7 +808,7 @@ wait_for_iobuf:
|
|||
if (err)
|
||||
__jbd2_journal_abort_hard(journal);
|
||||
}
|
||||
if (!err && !is_journal_aborted(journal))
|
||||
if (cbh)
|
||||
err = journal_wait_on_commit_record(journal, cbh);
|
||||
if (JBD2_HAS_INCOMPAT_FEATURE(journal,
|
||||
JBD2_FEATURE_INCOMPAT_ASYNC_COMMIT) &&
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue