diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2019-04-06 15:12:21 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-22 17:08:20 -0400 |
commit | a0e0bda117d80b107c137e4c6cd0fb9814bd5214 (patch) | |
tree | 56195bc3287f26a86cbf9c7dcf762224d6a11a4f /fs/bcachefs/ec.c | |
parent | d1170ce53c5b332caf647f658c6f2a483c3608a7 (diff) | |
download | lwn-a0e0bda117d80b107c137e4c6cd0fb9814bd5214.tar.gz lwn-a0e0bda117d80b107c137e4c6cd0fb9814bd5214.zip |
bcachefs: Pass flags arg to bch2_alloc_write()
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/ec.c')
-rw-r--r-- | fs/bcachefs/ec.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/bcachefs/ec.c b/fs/bcachefs/ec.c index 75fe0c28fa22..ea009f0ff829 100644 --- a/fs/bcachefs/ec.c +++ b/fs/bcachefs/ec.c @@ -1194,7 +1194,7 @@ static int __bch2_stripe_write_key(struct btree_trans *trans, BTREE_INSERT_NOFAIL|flags); } -int bch2_stripes_write(struct bch_fs *c, bool *wrote) +int bch2_stripes_write(struct bch_fs *c, unsigned flags, bool *wrote) { struct btree_trans trans; struct btree_iter *iter; @@ -1216,7 +1216,7 @@ int bch2_stripes_write(struct bch_fs *c, bool *wrote) continue; ret = __bch2_stripe_write_key(&trans, iter, m, giter.pos, - new_key, BTREE_INSERT_NOCHECK_RW); + new_key, flags); if (ret) break; |