diff options
author | Josef Bacik <jbacik@fusionio.com> | 2013-08-22 23:03:29 +0200 |
---|---|---|
committer | Chris Mason <chris.mason@fusionio.com> | 2013-09-01 14:16:23 +0200 |
commit | b8d0c69b9469ffd33df30fee3e990f2d4aa68a09 (patch) | |
tree | ba6694c593b6f6cde9a2505c18c66b3b192b8d11 /fs/btrfs/tree-log.c | |
parent | Btrfs: do not clear our orphan item runtime flag on eexist (diff) | |
download | linux-b8d0c69b9469ffd33df30fee3e990f2d4aa68a09.tar.xz linux-b8d0c69b9469ffd33df30fee3e990f2d4aa68a09.zip |
Btrfs: remove ourselves from the cluster list under lock
A user was reporting weird warnings from btrfs_put_delayed_ref() and I noticed
that we were doing this list_del_init() on our head ref outside of
delayed_refs->lock. This is a problem if we have people still on the list, we
could end up modifying old pointers and such. Fix this by removing us from the
list before we do our run_delayed_ref on our head ref. Thanks,
Signed-off-by: Josef Bacik <jbacik@fusionio.com>
Signed-off-by: Chris Mason <chris.mason@fusionio.com>
Diffstat (limited to 'fs/btrfs/tree-log.c')
0 files changed, 0 insertions, 0 deletions