diff options
Diffstat (limited to 'fs/btrfs/disk-io.c')
-rw-r--r-- | fs/btrfs/disk-io.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/fs/btrfs/disk-io.c b/fs/btrfs/disk-io.c index b557bdd1e26..6b097ede80b 100644 --- a/fs/btrfs/disk-io.c +++ b/fs/btrfs/disk-io.c | |||
@@ -16,10 +16,6 @@ static int check_tree_block(struct btrfs_root *root, struct buffer_head *buf) | |||
16 | if (buf->b_blocknr != btrfs_header_blocknr(&node->header)) { | 16 | if (buf->b_blocknr != btrfs_header_blocknr(&node->header)) { |
17 | BUG(); | 17 | BUG(); |
18 | } | 18 | } |
19 | if (root->node && btrfs_header_parentid(&node->header) != | ||
20 | btrfs_header_parentid(btrfs_buffer_header(root->node))) { | ||
21 | BUG(); | ||
22 | } | ||
23 | return 0; | 19 | return 0; |
24 | } | 20 | } |
25 | 21 | ||