From: Dmitry Monakhov Date: Thu, 13 Jun 2013 02:24:07 +0000 (-0400) Subject: jbd2: optimize jbd2_journal_force_commit X-Git-Tag: omap-for-v3.11/fixes-for-merge-window~83^2~26 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9ff864462477206bc23b405a6ae506e92fb6dc9c;p=pandora-kernel.git jbd2: optimize jbd2_journal_force_commit Current implementation of jbd2_journal_force_commit() is suboptimal because result in empty and useless commits. But callers just want to force and wait any unfinished commits. We already have jbd2_journal_force_commit_nested() which does exactly what we want, except we are guaranteed that we do not hold journal transaction open. Signed-off-by: Dmitry Monakhov Signed-off-by: "Theodore Ts'o" --- Reading git-diff-tree failed