From: Chris Mason Date: Tue, 13 Sep 2005 08:25:17 +0000 (-0700) Subject: [PATCH] reiserfs: use mark_inode_dirty instead of reiserfs_update_sd X-Git-Tag: v2.6.14-rc2~90 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9f03783ce5d851e4b98dfaf3e9eb177870f6c75d;p=pandora-kernel.git [PATCH] reiserfs: use mark_inode_dirty instead of reiserfs_update_sd reiserfs should use mark_inode_dirty during reiserfs_file_write and reiserfs_commit_write. This makes sure the inode is properly flagged as dirty, which is used during O_SYNC to decide when to trigger log commits. This patch also removes the O_SYNC check from reiserfs_commit_write, since that gets dealt with properly at higher layers once we start using mark_inode_dirty. Thanks to Hifumi Hisashi for catching this. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed