commit | 93806299b56b22df8fec9b78cb4c9c41d283ee2a | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Tue Mar 13 23:15:29 2018 -0700 |
committer | Darrick J. Wong <darrick.wong@oracle.com> | Fri Mar 23 18:05:06 2018 -0700 |
tree | 9734db3a6d3388e87b749347485195f9eb1c3976 | |
parent | df79b81b2e6a801c134c3e06c647715a316b4a92 [diff] |
xfs: refactor xfs_log_force_lsn Use the the smallest possible loop as preable to find the correct iclog buffer, and then use gotos for unwinding to straighten the code. Also fix the top of function comment while we're at it. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com> Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>