summaryrefslogtreecommitdiff
path: root/fs/bcachefs/recovery.c
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2023-08-07 12:04:05 -0400
committerKent Overstreet <kent.overstreet@linux.dev>2023-10-22 17:10:10 -0400
commit1e81f89b020758fb424f8bb0f13405706d29dfc7 (patch)
tree7ae51550659bf2f5e19595ebdb377d1343001382 /fs/bcachefs/recovery.c
parent6fe893eade864665c0956a2ac2eff78b86dc8145 (diff)
downloadlwn-1e81f89b020758fb424f8bb0f13405706d29dfc7.tar.gz
lwn-1e81f89b020758fb424f8bb0f13405706d29dfc7.zip
bcachefs: Fix assorted checkpatch nits
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/recovery.c')
-rw-r--r--fs/bcachefs/recovery.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/bcachefs/recovery.c b/fs/bcachefs/recovery.c
index 35b67c544a6a..5dbe1b273b71 100644
--- a/fs/bcachefs/recovery.c
+++ b/fs/bcachefs/recovery.c
@@ -648,7 +648,7 @@ static int bch2_journal_replay(struct bch_fs *c)
move_gap(keys->d, keys->nr, keys->size, keys->gap, keys->nr);
keys->gap = keys->nr;
- keys_sorted = kvmalloc_array(sizeof(*keys_sorted), keys->nr, GFP_KERNEL);
+ keys_sorted = kvmalloc_array(keys->nr, sizeof(*keys_sorted), GFP_KERNEL);
if (!keys_sorted)
return -BCH_ERR_ENOMEM_journal_replay;
@@ -1403,7 +1403,7 @@ use_clean:
}
c->journal_replay_seq_start = last_seq;
- c->journal_replay_seq_end = blacklist_seq - 1;;
+ c->journal_replay_seq_end = blacklist_seq - 1;
if (c->opts.reconstruct_alloc) {
c->sb.compat &= ~(1ULL << BCH_COMPAT_alloc_info);