aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/dev-replace.c
diff options
context:
space:
mode:
authorChris Wilson <[email protected]>2019-06-04 12:53:23 +0000
committerChris Wilson <[email protected]>2019-06-05 06:38:37 +0000
commitf5b07b04e5f090a85d1e96938520f2b2b58e4a8e (patch)
tree39e98b56c97a155993a5e64d59a4c69fee1f1343 /fs/btrfs/dev-replace.c
parentdrm/atmel-hlcdc: revert shift by 8 (diff)
downloadkernel-f5b07b04e5f090a85d1e96938520f2b2b58e4a8e.tar.gz
kernel-f5b07b04e5f090a85d1e96938520f2b2b58e4a8e.zip
dma-buf: Discard old fence_excl on retrying get_fences_rcu for realloc
If we have to drop the seqcount & rcu lock to perform a krealloc, we have to restart the loop. In doing so, be careful not to lose track of the already acquired exclusive fence. Fixes: fedf54132d24 ("dma-buf: Restart reservation_object_get_fences_rcu() after writes") Signed-off-by: Chris Wilson <[email protected]> Cc: Daniel Vetter <[email protected]> Cc: Maarten Lankhorst <[email protected]> Cc: Christian König <[email protected]> Cc: Alex Deucher <[email protected]> Cc: Sumit Semwal <[email protected]> Cc: [email protected] #v4.10 Reviewed-by: Christian König <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions