diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2023-02-19 06:11:50 +0300 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-23 00:09:54 +0300 |
commit | 27616a31241e0625ee063f2cacd8c8e339b2de65 (patch) | |
tree | de3a0ccf8a385bcf762e5312007d0a254b4ff84e /fs/bcachefs/recovery.c | |
parent | 4b1e669995a6c19f1e1cc8a600101edf7fe9277e (diff) | |
download | linux-27616a31241e0625ee063f2cacd8c8e339b2de65.tar.xz |
bcachefs: Simplify ec stripes heap
Now that we have a separate data structure for tracking open stripes,
the stripes heap can track all existing stripes, which is a nice
simplification.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/recovery.c')
-rw-r--r-- | fs/bcachefs/recovery.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/bcachefs/recovery.c b/fs/bcachefs/recovery.c index 1976d5fa3427..f5946b4dbce2 100644 --- a/fs/bcachefs/recovery.c +++ b/fs/bcachefs/recovery.c @@ -1260,8 +1260,6 @@ use_clean: goto err; bch_verbose(c, "stripes_read done"); - bch2_stripes_heap_start(c); - if (c->sb.version < bcachefs_metadata_version_snapshot_2) { err = "error creating root snapshot node"; ret = bch2_fs_initialize_subvolumes(c); |