commit | ad211f3e94b314a910d4af03178a0b52a7d1ee0a | [log] [tgz] |
---|---|---|
author | Theodore Ts'o <tytso@mit.edu> | Mon Dec 31 00:10:48 2018 -0500 |
committer | Theodore Ts'o <tytso@mit.edu> | Mon Dec 31 00:10:48 2018 -0500 |
tree | 1085f5cc536507cb1ee937e35ee6fe4d732f3993 | |
parent | e86807862e6880809f191c4cea7f88a489f0ed34 [diff] |
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