diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2023-07-09 15:16:50 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-07-09 15:25:40 -0400 |
commit | 5d507f795b0b679a67e972a48cbd0854c4ad0f02 (patch) | |
tree | bf30f9dd1badd504025e836d696d4d2d939108c3 /libbcachefs/fs-io.c | |
parent | c99a444c5cc242a89845be83236aacd7db628ef5 (diff) |
Update bcachefs sources to da7d42a9a2 bcachefs: Add new assertions for shutdown path
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'libbcachefs/fs-io.c')
-rw-r--r-- | libbcachefs/fs-io.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/libbcachefs/fs-io.c b/libbcachefs/fs-io.c index 36e28864..a8060052 100644 --- a/libbcachefs/fs-io.c +++ b/libbcachefs/fs-io.c @@ -3918,10 +3918,6 @@ void bch2_fs_fsio_exit(struct bch_fs *c) int bch2_fs_fsio_init(struct bch_fs *c) { - int ret = 0; - - pr_verbose_init(c->opts, ""); - if (bioset_init(&c->writepage_bioset, 4, offsetof(struct bch_writepage_io, op.wbio.bio), BIOSET_NEED_BVECS)) @@ -3941,8 +3937,7 @@ int bch2_fs_fsio_init(struct bch_fs *c) 1, offsetof(struct nocow_flush, bio), 0)) return -BCH_ERR_ENOMEM_nocow_flush_bioset_init; - pr_verbose_init(c->opts, "ret %i", ret); - return ret; + return 0; } #endif /* NO_BCACHEFS_FS */ |