]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs_scrub: refactor mountpoint finding code to use libfrog path code
authorDarrick J. Wong <darrick.wong@oracle.com>
Thu, 12 Apr 2018 15:34:11 +0000 (10:34 -0500)
committerEric Sandeen <sandeen@redhat.com>
Thu, 12 Apr 2018 15:34:11 +0000 (10:34 -0500)
commit680eacaa3bcb6559d3381e6f1e6abf4603b55040
treeef43dc2867ac064ef3b2c10b648c66285877049e
parent5fa5a86026ad3c0b38d254b467d739dbb31e7d73
xfs_scrub: refactor mountpoint finding code to use libfrog  path code

Use the libfrog path finding code to determine if the argument being
passed in is a mountpoint, remove all mention of taking a block device
(we have never supported that) from the documentation, and fix some
potential memory leaks.

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>
man/man8/xfs_scrub.8
scrub/common.c
scrub/common.h
scrub/phase1.c
scrub/xfs_scrub.c
scrub/xfs_scrub.h