Filipe Manana
902f630d4f
btrfs: fix lost error handling when replaying directory deletes
...
commit 10adb1152d957a4d570ad630f93a88bb961616c1 upstream.
At replay_dir_deletes(), if find_dir_range() returns an error we break out
of the main while loop and then assign a value of 0 (success) to the 'ret'
variable, resulting in completely ignoring that an error happened. Fix
that by jumping to the 'out' label when find_dir_range() returns an error
(negative value).
CC: stable@vger.kernel.org # 4.4+
Reviewed-by: Josef Bacik <josef@toxicpanda.com>
Signed-off-by: Filipe Manana <fdmanana@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-11-26 11:40:22 +01:00
..
2020-11-05 11:07:03 +01:00
2019-08-06 19:05:21 +02:00
2021-03-03 18:22:54 +01:00
2020-04-02 16:34:33 +02:00
2019-12-17 20:37:24 +01:00
2018-12-01 09:42:51 +01:00
2021-11-26 11:40:22 +01:00
2020-11-05 11:07:05 +01:00
2021-09-26 13:37:29 +02:00
2021-10-06 15:05:04 +02:00
2019-08-06 19:05:23 +02:00
2021-07-20 16:17:41 +02:00
2018-11-13 11:15:12 -08:00
2021-07-20 16:17:45 +02:00
2019-05-08 07:20:49 +02:00
2019-03-23 14:35:21 +01:00
2021-07-20 16:17:33 +02:00
2021-05-26 11:47:00 +02:00
2020-12-02 08:34:44 +01:00
2019-12-05 15:37:28 +01:00
2020-01-27 14:46:06 +01:00
2021-10-09 14:09:46 +02:00
2021-10-06 15:05:09 +02:00
2021-09-22 11:45:15 +02:00
2020-06-20 10:25:05 +02:00
2018-12-17 09:28:53 +01:00
2021-07-20 16:17:45 +02:00
2021-09-22 11:45:30 +02:00
2021-08-04 12:22:15 +02:00
2020-04-24 08:00:45 +02:00
2021-06-03 08:36:25 +02:00
2021-11-12 14:28:24 +01:00
2020-09-03 11:22:29 +02:00
2021-05-22 10:57:22 +02:00
2021-07-20 16:17:49 +02:00
2021-06-30 08:48:55 -04:00
2020-12-29 13:46:57 +01:00
2020-08-21 09:48:15 +02:00
2021-07-20 16:17:54 +02:00
2020-12-29 13:47:01 +01:00
2021-10-27 09:51:39 +02:00
2021-09-26 13:37:30 +02:00
2020-01-12 12:11:59 +01:00
2021-07-20 16:17:28 +02:00
2021-11-26 11:40:20 +01:00
2021-07-20 16:17:52 +02:00
2021-10-17 10:08:32 +02:00
2021-07-28 11:12:18 +02:00
2020-01-09 10:17:55 +01:00
2021-10-06 15:05:08 +02:00
2021-03-03 18:22:44 +01:00
2020-10-29 09:07:11 +01:00
2021-08-15 13:03:33 +02:00
2020-08-26 10:29:54 +02:00
2021-05-22 10:57:39 +02:00
2021-06-30 08:48:55 -04:00
2018-12-17 09:28:48 +01:00
2021-07-20 16:17:54 +02:00
2021-09-22 11:45:18 +02:00
2020-08-21 09:48:22 +02:00
2021-03-07 11:27:43 +01:00
2018-12-21 14:13:04 +01:00
2020-06-03 08:18:03 +02:00
2019-07-03 13:15:59 +02:00
2021-03-17 16:34:35 +01:00
2019-11-06 12:42:59 +01:00
2021-05-22 10:57:43 +02:00
2020-11-05 11:06:58 +01:00
2020-01-14 20:05:39 +01:00
2020-01-09 10:17:58 +01:00
2020-05-20 08:16:58 +02:00
2020-03-11 18:02:43 +01:00
2019-02-06 17:31:34 +01:00
2021-04-16 11:57:48 +02:00
2020-01-12 12:11:59 +01:00
2020-10-14 09:51:09 +02:00
2021-10-27 09:51:40 +02:00
2020-05-27 16:42:51 +02:00
2020-04-24 08:00:43 +02:00
2021-07-20 16:17:37 +02:00
2020-04-02 16:34:21 +02:00
2018-11-10 07:48:33 -08:00
2019-12-17 20:38:57 +01:00
2020-11-24 13:05:50 +01:00
2020-01-09 10:17:55 +01:00
2020-03-11 18:02:53 +01:00
2021-08-26 08:37:10 -04:00
2020-03-20 10:54:16 +01:00
2021-08-15 13:03:31 +02:00
2020-05-02 17:24:47 +02:00
2019-12-01 09:13:51 +01:00
2021-04-28 12:08:41 +02:00
2021-03-24 11:05:05 +01:00
2021-07-20 16:17:55 +02:00
2019-05-04 09:15:18 +02:00
2019-10-11 18:18:48 +02:00
2020-11-24 13:05:44 +01:00
2020-01-04 13:59:58 +01:00
2020-08-21 09:48:00 +02:00