| 113 | } |
| 114 | |
| 115 | static int test_btrfs(const struct btrfs_super_block *sb) |
| 116 | { |
| 117 | if(memcmp(&sb->magic, BTRFS_MAGIC, 8)!=0) |
| 118 | return 1; |
| 119 | if(le32(sb->dev_item.sector_size)==0) |
| 120 | return 1; |
| 121 | return 0; |
| 122 | } |
no outgoing calls
no test coverage detected