mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-26 18:16:26 +00:00
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>
This commit is contained in:
parent
df79b81b2e
commit
93806299b5
1 changed files with 62 additions and 80 deletions
144
fs/xfs/xfs_log.c
144
fs/xfs/xfs_log.c
Loading…
Add table
Add a link
Reference in a new issue