]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit - scrub/disk.c
xfs_scrub: create an abstraction for a block device
authorDarrick J. Wong <darrick.wong@oracle.com>
Fri, 2 Feb 2018 15:32:45 +0000 (09:32 -0600)
committerEric Sandeen <sandeen@redhat.com>
Fri, 2 Feb 2018 15:32:45 +0000 (09:32 -0600)
commita555a1f410f99a68660e81ccc861d1a05d190981
tree14f0aedd18d13c9867fc71ddcf918fe990bdc44a
parente031d90f536d192cb9206cbc55222beeca68d057
xfs_scrub: create an abstraction for a block device

Create an abstraction to handle all of our low level disk operations.
We'll eventually use it to bind to a fs mount point and block device.

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>
scrub/Makefile
scrub/disk.c [new file with mode: 0644]
scrub/disk.h [new file with mode: 0644]