diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2024-07-15 16:54:30 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2024-07-15 20:17:37 -0400 |
commit | 32fbdff2a9954037bb55f3441281376cfcebb8ea (patch) | |
tree | 81064d0de40cc6d19991787b94e8ac3d46d62ddb /c_src/posix_to_bcachefs.c | |
parent | 2d605676853ffd147f5f9591c833e44ab1d3e7a1 (diff) |
Update bcachefs sources to 4a7a003763f5 bcachefs: Opt_durability can now be set via bch2_opt_set_sb()
Diffstat (limited to 'c_src/posix_to_bcachefs.c')
-rw-r--r-- | c_src/posix_to_bcachefs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/c_src/posix_to_bcachefs.c b/c_src/posix_to_bcachefs.c index 714eb47d..81750751 100644 --- a/c_src/posix_to_bcachefs.c +++ b/c_src/posix_to_bcachefs.c @@ -166,7 +166,7 @@ static void write_data(struct bch_fs *c, closure_call(&op.cl, bch2_write, NULL, NULL); - BUG_ON(!(op.flags & BCH_WRITE_DONE)); + BUG_ON(!(op.flags & BCH_WRITE_SUBMITTED)); dst_inode->bi_sectors += len >> 9; if (op.error) |