]> git.sesse.net Git - bcachefs-tools-debian/blobdiff - libbcachefs/fs-io-buffered.c
Update bcachefs sources to feaca6edbd24 mean and variance: Promote to lib/math
[bcachefs-tools-debian] / libbcachefs / fs-io-buffered.c
index 52f0e7acda3d81ce043672b428db4432cdcebeb2..637a83e4d961bf7b623617421543d9148329ec6e 100644 (file)
@@ -638,7 +638,7 @@ do_io:
                /* Check for writing past i_size: */
                WARN_ONCE((bio_end_sector(&w->io->op.wbio.bio) << 9) >
                          round_up(i_size, block_bytes(c)) &&
-                         !test_bit(BCH_FS_EMERGENCY_RO, &c->flags),
+                         !test_bit(BCH_FS_emergency_ro, &c->flags),
                          "writing past i_size: %llu > %llu (unrounded %llu)\n",
                          bio_end_sector(&w->io->op.wbio.bio) << 9,
                          round_up(i_size, block_bytes(c)),