diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2024-02-23 22:43:24 -0500 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2024-03-13 21:22:25 -0400 |
commit | 69426613cdf0784e29e1a429c1a2f372a6267c43 (patch) | |
tree | 08d9402cd8f82ccb17731096d4bcd5640bd6fe0b /fs/bcachefs/recovery.c | |
parent | 95ffc7fb8c7831ee79ed8d2c0e53c7b4869c6338 (diff) | |
download | linux-69426613cdf0784e29e1a429c1a2f372a6267c43.tar.gz linux-69426613cdf0784e29e1a429c1a2f372a6267c43.tar.bz2 linux-69426613cdf0784e29e1a429c1a2f372a6267c43.zip |
bcachefs: improve move_gap()
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/recovery.c')
-rw-r--r-- | fs/bcachefs/recovery.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/bcachefs/recovery.c b/fs/bcachefs/recovery.c index d773af23a189..f11e882de02b 100644 --- a/fs/bcachefs/recovery.c +++ b/fs/bcachefs/recovery.c @@ -531,8 +531,7 @@ static int bch2_set_may_go_rw(struct bch_fs *c) * setting journal_key->overwritten: it will be accessed by multiple * threads */ - move_gap(keys->data, keys->nr, keys->size, keys->gap, keys->nr); - keys->gap = keys->nr; + move_gap(keys, keys->nr); set_bit(BCH_FS_may_go_rw, &c->flags); |