diff options
author | Josef Bacik <jbacik@fusionio.com> | 2013-06-29 23:15:19 -0400 |
---|---|---|
committer | Josef Bacik <jbacik@fusionio.com> | 2013-07-02 11:51:18 -0400 |
commit | f1ca7e98a67da618d8595866e0860308525154da (patch) | |
tree | 55e4374235a9d6eee5068e55e1297d97cbe859e8 /COPYING | |
parent | 261c84b662f93e0eb75bccd6cd732391d005060a (diff) |
Btrfs: hold the tree mod lock in __tree_mod_log_rewind
We need to hold the tree mod log lock in __tree_mod_log_rewind since we walk
forward in the tree mod entries, otherwise we'll end up with random entries and
trip the BUG_ON() at the front of __tree_mod_log_rewind. This fixes the panics
people were seeing when running
find /whatever -type f -exec btrfs fi defrag {} \;
Thansk,
Cc: stable@vger.kernel.org
Signed-off-by: Josef Bacik <jbacik@fusionio.com>
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions