From: Artem Bityutskiy Date: Fri, 9 Jan 2009 19:02:37 +0000 (+0200) Subject: UBIFS: do not commit twice X-Git-Tag: v2.6.29-rc4~60^2~16 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dedb0d48a9d4d57086526b94a4b64da789a646e4;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