ext4: Assure that metadata blocks are written during fsync in no journal mode
authorTheodore Ts'o <tytso@mit.edu>
Sat, 12 Sep 2009 17:41:55 +0000 (13:41 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Sat, 12 Sep 2009 17:41:55 +0000 (13:41 -0400)
When there is no journal present, we must attach buffer heads
associated with extent tree and indirect blocks to the inode's
mapping->private_list via mark_buffer_dirty_inode() so that
ext4_sync_file() --- which is called to service fsync() and
fdatasync() system calls --- can write out the inode's metadata blocks
by calling sync_mapping_buffers().

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>

No differences found