diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2023-07-07 04:38:29 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-22 17:10:06 -0400 |
commit | c8b4534d820f47480e7d5efb38d13e10919ccc7c (patch) | |
tree | 41edf7df973f36eb80b420ef6e62c4857d8d07ed /fs/bcachefs/fs-io.c | |
parent | 8726dc936fb79fda4a0280033cdd180f7f343cdd (diff) | |
download | lwn-c8b4534d820f47480e7d5efb38d13e10919ccc7c.tar.gz lwn-c8b4534d820f47480e7d5efb38d13e10919ccc7c.zip |
bcachefs: Delete redundant log messages
Now that we have distinct error codes for different memory allocation
failures, the early init log messages are no longer needed.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/fs-io.c')
-rw-r--r-- | fs/bcachefs/fs-io.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/fs/bcachefs/fs-io.c b/fs/bcachefs/fs-io.c index 513ffb5d968b..cb654cfecfb9 100644 --- a/fs/bcachefs/fs-io.c +++ b/fs/bcachefs/fs-io.c @@ -3915,10 +3915,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)) @@ -3938,8 +3934,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 */ |