Commit 05303b91 authored by Liu Bo's avatar Liu Bo Committed by Jiri Slaby
Browse files

Btrfs: fix NULL pointer crash of deleting a seed device



commit 29cc83f6 upstream.

Same as normal devices, seed devices should be initialized with
fs_info->dev_root as well, otherwise we'll get a NULL pointer crash.

Cc: Chris Murphy <lists@colorremedies.com>
Reported-by: default avatarChris Murphy <lists@colorremedies.com>
Signed-off-by: default avatarLiu Bo <bo.li.liu@oracle.com>
Signed-off-by: default avatarChris Mason <clm@fb.com>
Signed-off-by: default avatarJiri Slaby <jslaby@suse.cz>
parent 7bfc7657
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment