From: Jan Kara Date: Mon, 8 Jun 2015 16:39:07 +0000 (-0400) Subject: jbd2: simplify code flow in do_get_write_access() X-Git-Tag: omap-for-v4.2/fixes-rc1^2~122^2~23 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ee57aba159a5c329dc78c181a3ae0549e59f0925;p=pandora-kernel.git jbd2: simplify code flow in do_get_write_access() needs_copy is set only in one place in do_get_write_access(), just move the frozen buffer copying into that place and factor it out to a separate function to make do_get_write_access() slightly more readable. Signed-off-by: Jan Kara Signed-off-by: Theodore Ts'o --- Reading git-diff-tree failed