aboutsummaryrefslogtreecommitdiffstats
path: root/lib/timerqueue.c
diff options
context:
space:
mode:
authorJeff Mahoney <[email protected]>2016-12-20 18:28:28 +0000
committerDavid Sterba <[email protected]>2017-01-03 14:14:21 +0000
commitd0280996437081dd12ed1e982ac8aeaa62835ec4 (patch)
tree9c1e103ecde5541b14903fa7f08630c5ebda84e6 /lib/timerqueue.c
parentbtrfs: fix error handling when run_delayed_extent_op fails (diff)
downloadkernel-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