common/xfs: don't call xfs_scrub on a block device
authorDarrick J. Wong <darrick.wong@oracle.com>
Thu, 22 Mar 2018 02:46:56 +0000 (19:46 -0700)
committerEryu Guan <guaneryu@gmail.com>
Fri, 23 Mar 2018 04:43:44 +0000 (12:43 +0800)
commit064c618989630c7108f7c1f30b809232d9db67c7
tree440f3e60b8f97c1be49d6518b7a9410f283fedd5
parent581862bdc02323bc3c2e71a489b09ca4e23cf461
common/xfs: don't call xfs_scrub on a block device

xfs_scrub takes an xfs mountpoint as its argument, not a block
device. Therefore, fix _check_xfs_filesystem to call it correctly.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Eryu Guan <guaneryu@gmail.com>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
common/xfs