Skip to content
Commit e48dac7f authored by Josef Bacik's avatar Josef Bacik Committed by David Sterba
Browse files

btrfs: make should_throttle loop local in btrfs_truncate_inode_items



We reset this bool on every loop through the truncate loop, make this
variable local to the loop.

Reviewed-by: default avatarFilipe Manana <fdmanana@suse.com>
Signed-off-by: default avatarJosef Bacik <josef@toxicpanda.com>
Reviewed-by: default avatarDavid Sterba <dsterba@suse.com>
Signed-off-by: default avatarDavid Sterba <dsterba@suse.com>
parent 0adbc619
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment