Filipe Manana
81e87a736c
Btrfs: fix unprotected assignment of the left cursor for device replace
...
We were assigning new values to fields of the device replace object
without holding the respective lock after processing each device extent.
This is important for the left cursor field which can be accessed by a
concurrent task running __btrfs_map_block (which, correctly, takes the
device replace lock).
So change these fields while holding the device replace lock.
Signed-off-by: Filipe Manana <fdmanana@suse.com>
Reviewed-by: Josef Bacik <jbacik@fb.com>
2016-05-30 12:58:23 +01:00
..
2016-04-04 10:41:08 -07:00
2016-01-20 17:09:18 -08:00
2016-04-04 10:41:08 -07:00
2016-04-04 10:41:08 -07:00
2016-03-19 18:52:29 -07:00
2016-05-30 12:58:23 +01:00
2016-04-04 10:41:08 -07:00
2016-04-25 20:54:13 +02:00
2016-04-04 10:41:08 -07:00
2016-01-23 12:24:56 -08:00
2016-04-04 10:41:08 -07:00
2016-04-04 10:41:08 -07:00
2016-04-12 20:01:35 -07:00
2016-04-12 15:01:53 -07:00
2016-04-26 15:47:32 -07:00
2016-04-04 10:41:08 -07:00
2016-04-04 10:41:08 -07:00
2016-04-04 10:41:08 -07:00
2016-04-04 10:41:08 -07:00
2016-01-22 18:04:28 -05:00
2016-04-04 10:41:08 -07:00
2016-04-12 20:01:35 -07:00
2016-04-12 10:25:30 -07:00
2016-03-22 15:36:02 -07:00
2016-04-04 10:41:08 -07:00
2016-04-04 10:41:08 -07:00
2016-04-25 13:01:04 +02:00
2016-04-04 10:41:08 -07:00
2016-04-04 10:41:08 -07:00
2016-04-04 10:41:08 -07:00
2016-04-04 10:41:08 -07:00
2016-02-27 19:15:51 -05:00
2016-04-04 10:41:08 -07:00
2016-04-04 10:41:08 -07:00
2016-04-04 10:41:08 -07:00
2016-04-04 10:41:08 -07:00
2016-04-04 10:41:08 -07:00
2016-04-04 10:41:08 -07:00
2016-04-04 10:41:08 -07:00
2016-04-04 10:41:08 -07:00
2016-04-04 10:41:08 -07:00
2016-04-07 17:22:20 -07:00
2016-03-24 19:50:32 -07:00
2016-04-04 10:41:08 -07:00
2016-02-18 16:23:24 -08:00
2016-04-04 10:41:08 -07:00
2016-04-28 19:34:04 -07:00
2016-04-09 10:33:58 -07:00
2016-03-26 16:14:37 -04:00
2016-05-05 17:38:53 -07:00
2016-04-04 10:41:08 -07:00
2016-04-04 10:41:08 -07:00
2016-03-29 17:20:10 +02:00
2016-04-04 10:41:08 -07:00
2016-04-04 10:41:08 -07:00
2016-04-04 10:41:08 -07:00
2016-04-04 10:41:08 -07:00
2016-01-22 18:04:28 -05:00
2016-04-04 10:41:08 -07:00
2016-04-25 15:18:50 +02:00
2016-04-04 10:41:08 -07:00
2016-04-04 10:41:08 -07:00
2016-01-22 18:04:28 -05:00
2016-04-04 10:41:08 -07:00
2016-04-04 10:41:08 -07:00
2016-01-22 18:04:28 -05:00
2016-04-04 10:41:08 -07:00
2016-04-04 10:41:08 -07:00
2016-02-14 14:25:59 -08:00
2016-03-22 15:36:02 -07:00
2016-04-04 10:41:08 -07:00
2016-03-26 16:14:37 -04:00
2016-04-04 10:41:08 -07:00
2016-03-22 15:36:02 -07:00
2016-03-17 15:09:34 -07:00
2016-03-20 19:08:56 -07:00
2016-03-22 15:36:02 -07:00
2016-04-04 10:41:08 -07:00
2016-02-16 14:57:21 -07:00
2016-01-22 18:04:28 -05:00
2016-03-26 12:59:04 -07:00
2016-04-04 10:41:08 -07:00
2016-01-22 18:04:28 -05:00
2016-03-26 12:59:04 -07:00
2016-02-22 22:44:04 -05:00
2016-04-04 10:41:08 -07:00
2016-03-31 00:23:05 -04:00
2016-01-22 18:04:28 -05:00
2016-03-22 15:36:02 -07:00
2016-04-04 10:41:08 -07:00
2016-05-05 09:54:45 -05:00
2016-03-16 13:09:08 -04:00
2016-03-18 16:07:38 -04:00
2016-01-22 18:04:28 -05:00
2016-03-17 15:09:34 -07:00
2016-04-14 12:56:09 -07:00
2016-04-04 10:41:08 -07:00
2016-03-03 14:42:50 -07:00
2016-04-04 10:41:08 -07:00
2016-03-02 09:03:18 -08:00
2016-01-22 18:04:28 -05:00
2016-02-20 00:15:51 -05:00