diff --git a/fs/btrfs/qgroup.c b/fs/btrfs/qgroup.c index 458fec01d814d75ad8f0d06becb9af93e19bfd1c..7d16f0692d73745e5e86f8aa77226d806da171dd 100644 --- a/fs/btrfs/qgroup.c +++ b/fs/btrfs/qgroup.c @@ -1559,6 +1559,7 @@ int btrfs_qgroup_trace_leaf_items(struct btrfs_trans_handle *trans, if (ret) return ret; } + cond_resched(); return 0; }