]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
xfs: hoist inode cluster checks out of loop
authorDarrick J. Wong <darrick.wong@oracle.com>
Fri, 1 Feb 2019 17:08:51 +0000 (09:08 -0800)
committerDarrick J. Wong <darrick.wong@oracle.com>
Tue, 12 Feb 2019 00:06:39 +0000 (16:06 -0800)
commita1954242facb01350265183675f1a544e1e1e646
treeb3a1c3b61e6efc20732f35742049145242eba3f4
parent22234c62f98bf06ae21cb71fb5b2aef2ce13326e
xfs: hoist inode cluster checks out of loop

Hoist the inode cluster checks out of the inobt record check loop into
a separate function in preparation for refactoring of that loop.  No
functional changes here; that's in the next patch.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Brian Foster <bfoster@redhat.com>
fs/xfs/scrub/ialloc.c