diff options
| author | Liu Bo <bo.li.liu@oracle.com> | 2018-01-25 11:02:50 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-02-22 15:45:00 +0100 |
| commit | efba91a4c3f465e1b7f10b2454d6406eb217a17e (patch) | |
| tree | 4e14d5312356ecbdcb1e80b3b3f0e077383035a4 /lib/net_utils.c | |
| parent | 4f62fb888d96ddc236aa11015f95d0afe4f3ba8b (diff) | |
Btrfs: fix deadlock in run_delalloc_nocow
commit e89166990f11c3f21e1649d760dd35f9e410321c upstream.
@cur_offset is not set back to what it should be (@cow_start) if
btrfs_next_leaf() returns something wrong, and the range [cow_start,
cur_offset) remains locked forever.
cc: <stable@vger.kernel.org>
Signed-off-by: Liu Bo <bo.li.liu@oracle.com>
Reviewed-by: Josef Bacik <jbacik@fb.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib/net_utils.c')
0 files changed, 0 insertions, 0 deletions
