aboutsummaryrefslogtreecommitdiff
path: root/drivers/fpga/fpga-mgr.c
diff options
context:
space:
mode:
authorJosef Bacik <[email protected]>2017-11-15 16:20:52 -0500
committerDavid Sterba <[email protected]>2017-11-27 15:50:07 +0100
commitb77000ed558daa3bef0899d29bf171b8c9b5e6a8 (patch)
treedf4e2531b11c7a3ea309c9ee991d43090f2be4b5 /drivers/fpga/fpga-mgr.c
parent8e138e0d92c6c9d3d481674fb14e3439b495be37 (diff)
btrfs: fix deadlock when writing out space cache
If we fail to prepare our pages for whatever reason (out of memory in our case) we need to make sure to drop the block_group->data_rwsem, otherwise hilarity ensues. Signed-off-by: Josef Bacik <[email protected]> Reviewed-by: Omar Sandoval <[email protected]> Reviewed-by: Liu Bo <[email protected]> Reviewed-by: David Sterba <[email protected]> [ add label and use existing unlocking code ] Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions