The patch titled ext2: also update the inode on disk when dir is IS_DIRSYNC has been removed from the -mm tree. Its filename was ext2-update-also-inode-on-disk-when-dir-is-is_dirsync.patch This patch was dropped because it was merged into mainline or a subsystem tree The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/ ------------------------------------------------------ Subject: ext2: also update the inode on disk when dir is IS_DIRSYNC From: Jan Kara <jack@xxxxxxx> We used to just write changed page for IS_DIRSYNC inodes. But we also have to update the directory inode itself just for the case that we've allocated a new block and changed i_size. [akpm@xxxxxxxxxxxxxxxxxxxx: still sync the data page] Signed-off-by: Jan Kara <jack@xxxxxxx> Tested-by: Pavel Machek <pavel@xxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- fs/ext2/dir.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff -puN fs/ext2/dir.c~ext2-update-also-inode-on-disk-when-dir-is-is_dirsync fs/ext2/dir.c --- a/fs/ext2/dir.c~ext2-update-also-inode-on-disk-when-dir-is-is_dirsync +++ a/fs/ext2/dir.c @@ -95,10 +95,13 @@ static int ext2_commit_chunk(struct page mark_inode_dirty(dir); } - if (IS_DIRSYNC(dir)) + if (IS_DIRSYNC(dir)) { err = write_one_page(page, 1); - else + if (!err) + err = ext2_sync_inode(dir); + } else { unlock_page(page); + } return err; } _ Patches currently in -mm which might be from jack@xxxxxxx are origin.patch linux-next.patch ext2-add-blk_issue_flush-to-syncing-paths.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html