diff options
| author | Daniel Vacek <[email protected]> | 2025-03-25 16:31:38 +0000 |
|---|---|---|
| committer | David Sterba <[email protected]> | 2025-05-15 12:30:39 +0000 |
| commit | c61660ec341e65650e58c92d0af71184aa216ff0 (patch) | |
| tree | d2095eb0f842e6606f625d48d93fd6c3023d5fe2 /fs/btrfs/extent-tree.c | |
| parent | btrfs: remove unused flag EXTENT_BUFFER_READAHEAD (diff) | |
| download | kernel-c61660ec341e65650e58c92d0af71184aa216ff0.tar.gz kernel-c61660ec341e65650e58c92d0af71184aa216ff0.zip | |
btrfs: remove unused flag EXTENT_BUFFER_CORRUPT
This flag is no longer being used. It was added by commit a826d6dcb32d
("Btrfs: check items for correctness as we search") but it's no longer
being used after commit f26c92386028 ("btrfs: remove reada
infrastructure").
Reviewed-by: Qu Wenruo <[email protected]>
Signed-off-by: Daniel Vacek <[email protected]>
Reviewed-by: David Sterba <[email protected]>
Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'fs/btrfs/extent-tree.c')
| -rw-r--r-- | fs/btrfs/extent-tree.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/fs/btrfs/extent-tree.c b/fs/btrfs/extent-tree.c index 957230abd827..47db37b7236d 100644 --- a/fs/btrfs/extent-tree.c +++ b/fs/btrfs/extent-tree.c @@ -3488,12 +3488,6 @@ int btrfs_free_tree_block(struct btrfs_trans_handle *trans, trace_btrfs_reserved_extent_free(fs_info, buf->start, buf->len); out: - - /* - * Deleting the buffer, clear the corrupt flag since it doesn't - * matter anymore. - */ - clear_bit(EXTENT_BUFFER_CORRUPT, &buf->bflags); return 0; } |
