]> git.sesse.net Git - bcachefs-tools-debian/blobdiff - libbcachefs/counters.c
Update bcachefs sources to 0342eebf85 bcachefs: Improve the backpointer to missing...
[bcachefs-tools-debian] / libbcachefs / counters.c
index edd1b2537f482991c48d0c67b60f1a3d9a857667..e5587bc5a2b73251e29dad986dd458a931c85945 100644 (file)
@@ -96,7 +96,7 @@ int bch2_fs_counters_init(struct bch_fs *c)
 {
        c->counters = __alloc_percpu(sizeof(u64) * BCH_COUNTER_NR, sizeof(u64));
        if (!c->counters)
-               return -ENOMEM;
+               return -BCH_ERR_ENOMEM_fs_counters_init;
 
        return bch2_sb_counters_to_cpu(c);
 }