diff options
author | Theodore Ts'o <tytso@mit.edu> | 2018-12-31 06:10:48 +0100 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2018-12-31 06:10:48 +0100 |
commit | ad211f3e94b314a910d4af03178a0b52a7d1ee0a (patch) | |
tree | 1085f5cc536507cb1ee937e35ee6fe4d732f3993 /init | |
parent | ext4: avoid kernel warning when writing the superblock to a dead device (diff) | |
download | linux-ad211f3e94b314a910d4af03178a0b52a7d1ee0a.tar.xz linux-ad211f3e94b314a910d4af03178a0b52a7d1ee0a.zip |
ext4: use ext4_write_inode() when fsyncing w/o a journal
In no-journal mode, we previously used __generic_file_fsync() in
no-journal mode. This triggers a lockdep warning, and in addition,
it's not safe to depend on the inode writeback mechanism in the case
ext4. We can solve both problems by calling ext4_write_inode()
directly.
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Cc: stable@kernel.org
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions