···108108 goto retry;109109110110 bch2_fs_fatal_err_on(bch2_err_matches(ret, ENOENT), c,111111- "inode %u:%llu not found when updating",111111+ "%s: inode %u:%llu not found when updating",112112+ bch2_err_str(ret),112113 inode_inum(inode).subvol,113114 inode_inum(inode).inum);114115
···155155 if (bch2_err_matches(ret, EROFS))156156 return ret;157157158158- if (bch2_fs_fatal_err_on(ret, c, "%s: error %s from bch2_btree_write_buffer_tryflush()",159159- __func__, bch2_err_str(ret)))158158+ if (bch2_fs_fatal_err_on(ret, c, "%s: from bch2_btree_write_buffer_tryflush()", bch2_err_str(ret)))160159 return ret;161160162161 ret = for_each_btree_key_upto(trans, iter, BTREE_ID_lru,
+4-4
fs/bcachefs/super-io.c
···985985 prt_str(&buf, " > ");986986 bch2_version_to_text(&buf, bcachefs_metadata_version_current);987987 prt_str(&buf, ")");988988- bch2_fs_fatal_error(c, "%s", buf.buf);988988+ bch2_fs_fatal_error(c, ": %s", buf.buf);989989 printbuf_exit(&buf);990990 return -BCH_ERR_sb_not_downgraded;991991 }···1005100510061006 if (le64_to_cpu(ca->sb_read_scratch->seq) < ca->disk_sb.seq) {10071007 bch2_fs_fatal_error(c,10081008- "Superblock write was silently dropped! (seq %llu expected %llu)",10081008+ ": Superblock write was silently dropped! (seq %llu expected %llu)",10091009 le64_to_cpu(ca->sb_read_scratch->seq),10101010 ca->disk_sb.seq);10111011 percpu_ref_put(&ca->io_ref);···1015101510161016 if (le64_to_cpu(ca->sb_read_scratch->seq) > ca->disk_sb.seq) {10171017 bch2_fs_fatal_error(c,10181018- "Superblock modified by another process (seq %llu expected %llu)",10181018+ ": Superblock modified by another process (seq %llu expected %llu)",10191019 le64_to_cpu(ca->sb_read_scratch->seq),10201020 ca->disk_sb.seq);10211021 percpu_ref_put(&ca->io_ref);···10661066 !can_mount_with_written ||10671067 (can_mount_without_written &&10681068 !can_mount_with_written), c,10691069- "Unable to write superblock to sufficient devices (from %ps)",10691069+ ": Unable to write superblock to sufficient devices (from %ps)",10701070 (void *) _RET_IP_))10711071 ret = -1;10721072out: