Btrfs: fix missing skinny metadata check in scrub_stripe()
authorWang Shilong <wangsl.fnst@cn.fujitsu.com>
Sun, 12 Jan 2014 13:38:32 +0000 (21:38 +0800)
committerChris Mason <clm@fb.com>
Tue, 28 Jan 2014 21:20:32 +0000 (13:20 -0800)
commit7c76edb77c23db673a83793686b4a53e2eec4de4
treeb8c2d6bec1a6e5c87ec44dfb6b87ea956f167603
parent28e5dd8f35202ff56b2eb1725ac77f0d0fcb4758
Btrfs: fix missing skinny metadata check in scrub_stripe()

Check if we support skinny metadata firstly and fix to use
right type to search.

Signed-off-by: Wang Shilong <wangsl.fnst@cn.fujitsu.com>
Signed-off-by: Josef Bacik <jbacik@fb.com>
Signed-off-by: Chris Mason <clm@fb.com>
fs/btrfs/scrub.c