]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
use btrfsck to check btrfs filesystems
authorMiao Xie <miaox@cn.fujitsu.com>
Wed, 14 Dec 2011 07:35:20 +0000 (15:35 +0800)
committerChristoph Hellwig <hch@lst.de>
Wed, 4 Jan 2012 18:43:00 +0000 (18:43 +0000)
commit8bcb2b64d86d73e02330f9ee6b2224f4566639a1
treed66c794c4f8fef104bc1951f19780d1d594504bd
parentd16e2e777fa329a5f0190fa9ae66ecf61d9589c3
use btrfsck to check btrfs filesystems

We failed to get fsck program to check the btrfs file system, it is
because btrfs uses its independent check tool which is named btrfsck
to check the file system, so the common checker -- fsck -- could not
find it, and reported there is no checker.

This patch fix it by using btrfsck directly.

Signed-off-by: Miao Xie <miaox@cn.fujitsu.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
common.rc