From: Jan Kara Date: Thu, 3 May 2012 12:47:55 +0000 (+0200) Subject: writeback: Move clearing of I_SYNC into inode_sync_complete() X-Git-Tag: v3.5-rc1~60^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=365b94ae67d2915d412b593d47449a6bffed9d37;p=pandora-kernel.git writeback: Move clearing of I_SYNC into inode_sync_complete() Move clearing of I_SYNC into inode_sync_complete(). It is more logical to have clearing of I_SYNC bit and waking of waiters in one place. Also later we will have two places needing to clear I_SYNC and wake up waiters so this allows them to use the common helper. Moving of I_SYNC clearing to a later stage of writeback_single_inode() is safe since we hold i_lock all the time. Reviewed-by: Christoph Hellwig Signed-off-by: Jan Kara Signed-off-by: Fengguang Wu --- Reading git-diff-tree failed