Currently we can specify the testing filesytems like 'check -xfs', but
btrfs is not support in this kind of command option. Add the option
'check -btrfs' support.

Signed-off-by: Wang Sheng-Hui <shh...@gmail.com>
---
 check |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/check b/check
index ff8fbcf..9c40615 100755
--- a/check
+++ b/check
@@ -74,6 +74,7 @@ usage()

 check options
     -xfs                test XFS (default)
+    -btrfs              test Btrfs
     -udf                test UDF
     -nfs                test NFS
     -l                 line mode diff
@@ -162,6 +163,7 @@ while [ $# -gt 0 ]; do
        -udf)   FSTYP=udf ;;
        -xfs)   FSTYP=xfs ;;
        -nfs)   FSTYP=nfs ;;
+       -btrfs) FSTYP=btrfs ;;

        -g)     group=$2 ; shift ;
                group_list=$(get_group_list $group)
--
1.7.10.4

--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to