commit | fe188c0e084bdf3038dc0ac963c21d764f53f7da | [log] [tgz] |
---|---|---|
author | Theodore Ts'o <tytso@mit.edu> | Sat Sep 12 13:41:55 2009 -0400 |
committer | Theodore Ts'o <tytso@mit.edu> | Sat Sep 12 13:41:55 2009 -0400 |
tree | bb712f58f4c0356058825da75da57d0af450e01b | |
parent | c7acb4c16646943180bd221c167a077e0a084f9c [diff] |
ext4: Assure that metadata blocks are written during fsync in no journal mode 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>