From: Artem Bityutskiy Date: Thu, 10 Jun 2010 10:56:33 +0000 (+0300) Subject: VFS: introduce s_dirty accessors X-Git-Tag: v2.6.35-rc5~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=140236b4b1c749c9b795ea3d11558a0eb5a3a080;p=pandora-kernel.git VFS: introduce s_dirty accessors This patch introduces 3 VFS accessors: 'sb_mark_dirty()', 'sb_mark_clean()', and 'sb_is_dirty()'. They simply set 'sb->s_dirt' or test 'sb->s_dirt'. The plan is to make every FS use these accessors later instead of manipulating the 'sb->s_dirt' flag directly. Ultimately, this change is a preparation for the periodic superblock synchronization optimization which is about preventing the "sync_supers" kernel thread from waking up even if there is nothing to synchronize. This patch does not do any functional change, just adds accessor functions. Signed-off-by: Artem Bityutskiy Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed