aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/extent-tree.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/btrfs/extent-tree.c')
-rw-r--r--fs/btrfs/extent-tree.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/fs/btrfs/extent-tree.c b/fs/btrfs/extent-tree.c
index a8f4e8d2ba60..cd794c35a636 100644
--- a/fs/btrfs/extent-tree.c
+++ b/fs/btrfs/extent-tree.c
@@ -4754,6 +4754,11 @@ pin:
4754 } 4754 }
4755 } 4755 }
4756out: 4756out:
4757 /*
4758 * Deleting the buffer, clear the corrupt flag since it doesn't matter
4759 * anymore.
4760 */
4761 clear_bit(EXTENT_BUFFER_CORRUPT, &buf->bflags);
4757 btrfs_put_block_group(cache); 4762 btrfs_put_block_group(cache);
4758} 4763}
4759 4764