]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs_repair: refactor buffer ops assignments during phase 5
authorDarrick J. Wong <darrick.wong@oracle.com>
Fri, 26 Apr 2019 20:39:35 +0000 (15:39 -0500)
committerEric Sandeen <sandeen@redhat.com>
Fri, 26 Apr 2019 20:39:35 +0000 (15:39 -0500)
commitb47099063eae9cf1579d2e406b54ca0b1cdd23a1
tree80bf2159d512539f5c8def2fdbd6d351375cefef
parent83695f94ca22ff8daec3e3f8b521ec6d255ae021
xfs_repair: refactor buffer ops assignments during phase 5

Refactor the buffer ops assignments in phase 5 to use a helper function
to determine the correct buf_ops instead of open-coding them.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
repair/phase5.c