From: Artem Bityutskiy Date: Fri, 9 Jan 2009 19:02:37 +0000 (+0200) Subject: UBIFS: do not commit twice X-Git-Tag: Release-2010-05/1~3^2~109 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f28650e7e635c536262ddd6c83576a94f096676c;p=pandora-kernel.git UBIFS: do not commit twice VFS calls '->sync_fs()' twice - first time with @wait = 0, second time with @wait = 1. As a result, we may commit and synchronize write-buffers twice. Avoid doing this by returning immediatelly if @wait = 0. Signed-off-by: Artem Bityutskiy --- Reading git-diff-tree failed