Files
linux/fs
Qu Wenruo bd3d8f4cb9 btrfs: Don't panic when we can't find a root key
[ Upstream commit 7ac1e464c4 ]

When we failed to find a root key in btrfs_update_root(), we just panic.

That's definitely not cool, fix it by outputting an unique error
message, aborting current transaction and return -EUCLEAN. This should
not normally happen as the root has been used by the callers in some
way.

Reviewed-by: Filipe Manana <fdmanana@suse.com>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Qu Wenruo <wqu@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2019-05-31 06:46:13 -07:00
..
2018-11-13 11:08:46 -08:00
2019-05-31 06:46:00 -07:00
2018-12-17 09:24:41 +01:00
2018-08-17 16:20:28 -07:00
2019-05-22 07:37:44 +02:00
2018-05-22 14:27:52 -04:00
2019-05-31 06:46:06 -07:00
2018-08-17 16:20:27 -07:00
2018-05-22 14:27:52 -04:00
2019-05-02 09:58:59 +02:00
2018-07-03 16:44:45 -04:00
2018-06-05 19:23:26 +02:00
2019-03-10 07:17:21 +01:00
2018-06-11 08:22:34 -07:00