aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fs/btrfs/disk-io.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/fs/btrfs/disk-io.c b/fs/btrfs/disk-io.c
index 835523687707..7cda51995c1e 100644
--- a/fs/btrfs/disk-io.c
+++ b/fs/btrfs/disk-io.c
@@ -433,10 +433,6 @@ static int csum_dirty_buffer(struct btrfs_root *root, struct page *page)
433 WARN_ON(1); 433 WARN_ON(1);
434 return 0; 434 return 0;
435 } 435 }
436 if (eb->pages[0] != page) {
437 WARN_ON(1);
438 return 0;
439 }
440 if (!PageUptodate(page)) { 436 if (!PageUptodate(page)) {
441 WARN_ON(1); 437 WARN_ON(1);
442 return 0; 438 return 0;