]> git.sesse.net Git - bcachefs-tools-debian/blobdiff - libbcachefs/sysfs.c
Update bcachefs sources to 3e0c5b0722 fixup! bcachefs: Btree write buffer
[bcachefs-tools-debian] / libbcachefs / sysfs.c
index ebd10cd52b9ba91dbd3f2ce76418be2aef0053e5..b981c87edd1f7f316c5f820b56d33f9427997fb4 100644 (file)
@@ -473,14 +473,14 @@ SHOW(bch2_fs)
        if (attr == &sysfs_data_jobs)
                data_progress_to_text(out, c);
 
-       if (attr == &sysfs_nocow_lock_table)
-               bch2_nocow_locks_to_text(out, &c->nocow_locks);
-
 #ifdef BCH_WRITE_REF_DEBUG
        if (attr == &sysfs_write_refs)
                bch2_write_refs_to_text(out, c);
 #endif
 
+       if (attr == &sysfs_nocow_lock_table)
+               bch2_nocow_locks_to_text(out, &c->nocow_locks);
+
        return 0;
 }
 
@@ -664,10 +664,10 @@ struct attribute *bch2_fs_internal_files[] = {
        &sysfs_stripes_heap,
        &sysfs_open_buckets,
        &sysfs_write_points,
-       &sysfs_nocow_lock_table,
 #ifdef BCH_WRITE_REF_DEBUG
        &sysfs_write_refs,
 #endif
+       &sysfs_nocow_lock_table,
        &sysfs_io_timers_read,
        &sysfs_io_timers_write,