]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
mdrestore: Extract target device size verification into a function
authorChandan Babu R <chandan.babu@oracle.com>
Mon, 6 Nov 2023 13:10:52 +0000 (18:40 +0530)
committerCarlos Maiolino <cem@kernel.org>
Tue, 21 Nov 2023 13:09:36 +0000 (14:09 +0100)
commit019ddea09ff3fef277a6d376bf3029a6466f9a66
treee3702037981ccbddb95fef50df1fba7eb94efe7c
parent0f47a5004c6fafcde538d3d17eb69b2bb7d8b6e8
mdrestore: Extract target device size verification into a function

A future commit will need to perform the device size verification on an
external log device. In preparation for this, this commit extracts the
relevant portions into a new function. No functional changes have been
introduced.

Reviewed-by: "Darrick J. Wong" <djwong@kernel.org>
Signed-off-by: Chandan Babu R <chandan.babu@oracle.com>
Signed-off-by: Carlos Maiolino <cem@kernel.org>
mdrestore/xfs_mdrestore.c