Btrfs-progs: delete fs_devices itself from fs_uuid list before freeing
authorLiu Bo <bo.li.liu@oracle.com>
Sat, 22 Jun 2013 05:32:43 +0000 (13:32 +0800)
committerChris Mason <chris.mason@fusionio.com>
Wed, 3 Jul 2013 18:16:10 +0000 (14:16 -0400)
commit823a1568acfd12320cfd43c3e0552f924d40dd4b
tree304aae0da754d812c9b82204c9c7bedf9950f5ce
parent785bfe3923f9dbc71e6e316d3c27afed5fbcf6d4
Btrfs-progs: delete fs_devices itself from fs_uuid list before freeing

Otherwise we will access illegal addresses while searching on fs_uuid list.

Signed-off-by: Liu Bo <bo.li.liu@oracle.com>
Signed-off-by: Chris Mason <chris.mason@fusionio.com>
disk-io.c