btrfs/001: filter subvol delete output

btrfs/001 is failing as the below btrfs-progs patch changed the
output during subvol delete.
Patch :
btrfs-progs: add options to set commit mode after subvol delete

adding it to the filter

Signed-off-by: Anand Jain <Anand.Jain@oracle.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
This commit is contained in:
Anand Jain
2014-01-20 13:28:38 +11:00
committed by Dave Chinner
parent 83adc23130
commit 7cb5299caa
2 changed files with 12 additions and 1 deletions
+10
View File
@@ -57,5 +57,15 @@ _filter_btrfs_device_stats()
sed -e "s/ *$NUMDEVS /<NUMDEVS> /g"
}
_filter_transcation_commit_default() {
sed -e "/Transaction commit: none (default)/d"
}
_filter_btrfs_subvol_delete()
{
_filter_scratch | _filter_transcation_commit_default
}
# make sure this script returns success
/bin/true