From: Jan Kara Date: Thu, 15 Jan 2009 21:51:29 +0000 (-0800) Subject: ext2: also update the inode on disk when dir is IS_DIRSYNC X-Git-Tag: v2.6.29-rc2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6b7021ef7e1a703c7092daeceda063951b22b4f6;p=pandora-kernel.git ext2: also update the inode on disk when dir is IS_DIRSYNC 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@linux-foundation.org: still sync the data page] Signed-off-by: Jan Kara Tested-by: Pavel Machek Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed