bcachefs: Kill dead code
PATCH 1/1 bcachefs: Kill dead code
Signed-off-by Alan Huang <[email protected]>
--- fs/bcachefs/journal_reclaim.c | 2 -- 1 file changed, 2 deletions(-)
fs/bcachefs/journal_reclaim.c +0 -2
@@ -624,8 +624,6 @@ static u64 journal_seq_to_flush(struct journal *j)/* Try to keep the journal at most half full: */ nr_buckets = ja->nr /2 ; - nr_buckets =min (nr_buckets, ja->nr); - bucket_to_flush = (ja->cur_idx + nr_buckets) % ja->nr; seq_to_flush =max (seq_to_flush, ja->bucket_seq[bucket_to_flush]);
Signature · 1 line
2.48.1
Kent Overstreet
AppliedQuoted 1 line · Alan Huang
Signed-off-by Alan Huang <[email protected]>
Applied
Quoted 20 lines
--- fs/bcachefs/journal_reclaim.c | 2 -- 1 file changed, 2 deletions(-)fs/bcachefs/journal_reclaim.c +0
-2@@ -624,8 +624,6 @@ static u64 journal_seq_to_flush(struct journal *j)/* Try to keep the journal at most half full: */ nr_buckets = ja->nr /2 ; - nr_buckets =min (nr_buckets, ja->nr); - bucket_to_flush = (ja->cur_idx + nr_buckets) % ja->nr; seq_to_flush =max (seq_to_flush, ja->bucket_seq[bucket_to_flush]);Signature · 1 line
2.48.1