summaryrefslogtreecommitdiff
path: root/block/blk-sysfs.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2018-03-13 23:15:29 -0700
committerDarrick J. Wong <darrick.wong@oracle.com>2018-03-23 18:05:06 -0700
commit93806299b56b22df8fec9b78cb4c9c41d283ee2a (patch)
tree9734db3a6d3388e87b749347485195f9eb1c3976 /block/blk-sysfs.c
parentdf79b81b2e6a801c134c3e06c647715a316b4a92 (diff)
downloadlinux-next-93806299b56b22df8fec9b78cb4c9c41d283ee2a.tar.gz
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>
Diffstat (limited to 'block/blk-sysfs.c')
0 files changed, 0 insertions, 0 deletions