]> git.sesse.net Git - bcachefs-tools-debian/blobdiff - libbcachefs/compress.c
Update bcachefs sources to da7d42a9a2 bcachefs: Add new assertions for shutdown path
[bcachefs-tools-debian] / libbcachefs / compress.c
index 38a3475b1897d7a501aefacac36dcd098355806b..48427a270840b2812af39be06eae699e68330c34 100644 (file)
@@ -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;