Loading fs/bcachefs/checksum.c +3 −2 Original line number Diff line number Diff line Loading @@ -10,6 +10,7 @@ #include <linux/xxhash.h> #include <linux/key.h> #include <linux/random.h> #include <linux/ratelimit.h> #include <linux/scatterlist.h> #include <crypto/algapi.h> #include <crypto/chacha.h> Loading Loading @@ -446,7 +447,7 @@ int bch2_rechecksum_bio(struct bch_fs *c, struct bio *bio, prt_str(&buf, " new type "); bch2_prt_csum_type(&buf, new_csum_type); prt_str(&buf, ")"); bch_err(c, "%s", buf.buf); WARN_RATELIMIT(1, "%s", buf.buf); printbuf_exit(&buf); return -EIO; } Loading fs/bcachefs/io_write.c +4 −1 Original line number Diff line number Diff line Loading @@ -1080,7 +1080,10 @@ static int bch2_write_extent(struct bch_write_op *op, struct write_point *wp, *_dst = dst; return more; csum_err: bch_err(c, "%s write error: error verifying existing checksum while rewriting existing data (memory corruption?)", bch_err_inum_offset_ratelimited(c, op->pos.inode, op->pos.offset << 9, "%s write error: error verifying existing checksum while rewriting existing data (memory corruption?)", op->flags & BCH_WRITE_MOVE ? "move" : "user"); ret = -EIO; err: Loading Loading
fs/bcachefs/checksum.c +3 −2 Original line number Diff line number Diff line Loading @@ -10,6 +10,7 @@ #include <linux/xxhash.h> #include <linux/key.h> #include <linux/random.h> #include <linux/ratelimit.h> #include <linux/scatterlist.h> #include <crypto/algapi.h> #include <crypto/chacha.h> Loading Loading @@ -446,7 +447,7 @@ int bch2_rechecksum_bio(struct bch_fs *c, struct bio *bio, prt_str(&buf, " new type "); bch2_prt_csum_type(&buf, new_csum_type); prt_str(&buf, ")"); bch_err(c, "%s", buf.buf); WARN_RATELIMIT(1, "%s", buf.buf); printbuf_exit(&buf); return -EIO; } Loading
fs/bcachefs/io_write.c +4 −1 Original line number Diff line number Diff line Loading @@ -1080,7 +1080,10 @@ static int bch2_write_extent(struct bch_write_op *op, struct write_point *wp, *_dst = dst; return more; csum_err: bch_err(c, "%s write error: error verifying existing checksum while rewriting existing data (memory corruption?)", bch_err_inum_offset_ratelimited(c, op->pos.inode, op->pos.offset << 9, "%s write error: error verifying existing checksum while rewriting existing data (memory corruption?)", op->flags & BCH_WRITE_MOVE ? "move" : "user"); ret = -EIO; err: Loading