mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2024-12-29 17:22:07 +00:00
a0851ea9cd
When committing transaction in jbd2_journal_commit_transaction(), the
disk caches for the filesystem device should be flushed before updating
the journal tail sequence. However, this step is missed if the journal
is not located on the filesystem device. As a result, the filesystem may
become inconsistent following a power failure or system crash. Fix it by
ensuring that the filesystem device is flushed appropriately.
Fixes:
|
||
---|---|---|
.. | ||
checkpoint.c | ||
commit.c | ||
journal.c | ||
Kconfig | ||
Makefile | ||
recovery.c | ||
revoke.c | ||
transaction.c |