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
Streamline the conditionals so that it is more obvious which specific case form the top of the function comments is being handled. Use gotos only for early returns. 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
656de4ffaf
commit
e6b9657056
1 changed files with 63 additions and 81 deletions
150
fs/xfs/xfs_log.c
150
fs/xfs/xfs_log.c
Loading…
Add table
Add a link
Reference in a new issue