diff options
| author | Jeff Mahoney <[email protected]> | 2016-12-20 18:28:28 +0000 |
|---|---|---|
| committer | David Sterba <[email protected]> | 2017-01-03 14:14:21 +0000 |
| commit | d0280996437081dd12ed1e982ac8aeaa62835ec4 (patch) | |
| tree | 9c1e103ecde5541b14903fa7f08630c5ebda84e6 /lib/timerqueue.c | |
| parent | btrfs: fix error handling when run_delayed_extent_op fails (diff) | |
| download | kernel-d0280996437081dd12ed1e982ac8aeaa62835ec4.tar.gz kernel-d0280996437081dd12ed1e982ac8aeaa62835ec4.zip | |
btrfs: fix locking when we put back a delayed ref that's too new
In __btrfs_run_delayed_refs, when we put back a delayed ref that's too
new, we have already dropped the lock on locked_ref when we set
->processing = 0.
This patch keeps the lock to cover that assignment.
Fixes: d7df2c796d7 (Btrfs: attach delayed ref updates to delayed ref heads)
Signed-off-by: Jeff Mahoney <[email protected]>
Reviewed-by: Liu Bo <[email protected]>
Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'lib/timerqueue.c')
0 files changed, 0 insertions, 0 deletions
