Handle bad extent type case
commit7da27f91fc103e53756798947d73c955750a2814
authorFrederic Weisbecker <fweisbec@gmail.com>
Thu, 9 Sep 2010 06:10:28 +0000 (9 14:10 +0800)
committerChris Mason <chris.mason@oracle.com>
Fri, 24 Sep 2010 00:26:50 +0000 (23 20:26 -0400)
tree9ec0ce8205cecd2a1e95baf41227448fe91e9252
parentbba632af0eada567fb71f6a41ef9d81a2ab17f63
Handle bad extent type case

If we meet a bad extent type, find_updated_files is going
to print random things. Better warn the user about what
happens.

This fixes:

btrfs-list.c: Dans la fonction «find_updated_files» :
btrfs-list.c:668: attention : «disk_offset» may be used uninitialized in this function
btrfs-list.c:668: note: «disk_offset» was declared here
btrfs-list.c:667: attention : «disk_start» may be used uninitialized in this function
btrfs-list.c:667: note: «disk_start» was declared here
btrfs-list.c:666: attention : «len» may be used uninitialized in this function
btrfs-list.c:666: note: «len» was declared here
make: *** [btrfs-list.o] Erreur 1

Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
btrfs-list.c