GFS2: Remove extra "if" in gfs2_log_flush()
authorSteven Whitehouse <swhiteho@redhat.com>
Tue, 25 Feb 2014 11:52:20 +0000 (11:52 +0000)
committerSteven Whitehouse <swhiteho@redhat.com>
Tue, 25 Feb 2014 11:52:20 +0000 (11:52 +0000)
commitb1ab1e44b4fa3df97a25cc9bcc3c99244ad6945b
tree316bbe9643e5c3b6e3ce8ad9a23f7019299a412a
parent47ba9734403770a4c5e685b01f0a72b835dd4fff
GFS2: Remove extra "if" in gfs2_log_flush()

By reordering some of the assignments in gfs2_log_flush() it
is possible to remove one of the "if" statements as it can be
merged with one higher up the function.

Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
fs/gfs2/log.c