From a9abff6f8cf2620cecb017c664be79aef4dabd2d Mon Sep 17 00:00:00 2001 From: Kent Overstreet Date: Fri, 9 Sep 2016 01:50:41 -0800 Subject: bcache: write superblock with FUA will at least make torn superblock writes less likely --- drivers/md/bcache/super.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/md/bcache/super.c b/drivers/md/bcache/super.c index fe8b0f44c7a9..e7eb7e8bfc81 100644 --- a/drivers/md/bcache/super.c +++ b/drivers/md/bcache/super.c @@ -413,7 +413,7 @@ retry: if (order > sb->page_order) goto retry; - err = "Bad checksum"; + err = "bad checksum reading superblock"; if (le64_to_cpu(sb->sb->csum) != __csum_set(sb->sb, le16_to_cpu(sb->sb->u64s), le64_to_cpu(sb->sb->version) < -- cgit v1.2.3