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/compress.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/compress.c')
-rw-r--r-- | libbcachefs/compress.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/libbcachefs/compress.c b/libbcachefs/compress.c index 38a3475b..48427a27 100644 --- a/libbcachefs/compress.c +++ b/libbcachefs/compress.c @@ -542,7 +542,7 @@ void bch2_fs_compress_exit(struct bch_fs *c) mempool_exit(&c->compression_bounce[READ]); } -static int _bch2_fs_compress_init(struct bch_fs *c, u64 features) +static int __bch2_fs_compress_init(struct bch_fs *c, u64 features) { size_t decompress_workspace_size = 0; bool decompress_workspace_needed; @@ -612,17 +612,6 @@ static int _bch2_fs_compress_init(struct bch_fs *c, u64 features) return 0; } -static int __bch2_fs_compress_init(struct bch_fs *c, u64 features) -{ - int ret; - - pr_verbose_init(c->opts, ""); - ret = _bch2_fs_compress_init(c, features); - pr_verbose_init(c->opts, "ret %i", ret); - - return ret; -} - int bch2_fs_compress_init(struct bch_fs *c) { u64 f = c->sb.features; |