summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2020-04-30 16:59:49 +0200
committerCarl Hetherington <cth@carlh.net>2020-04-30 16:59:49 +0200
commit4c435d735b010929dfb222e2da0cf90205e6a6c1 (patch)
treeddcf5a5bee037d293bfbf7ec2279a1229c1272c0
parent4f79cf7c21eb11676d7c75f861f6da37a396ac51 (diff)
Turn on lwext4 debugging to see if that helps.
-rw-r--r--src/tools/dcpomatic_disk_writer.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/tools/dcpomatic_disk_writer.cc b/src/tools/dcpomatic_disk_writer.cc
index b6445ca82..d22bff412 100644
--- a/src/tools/dcpomatic_disk_writer.cc
+++ b/src/tools/dcpomatic_disk_writer.cc
@@ -243,7 +243,7 @@ void
write (boost::filesystem::path dcp_path, string device)
try
{
-// ext4_dmask_set (DEBUG_ALL);
+ ext4_dmask_set (DEBUG_ALL);
/* We rely on static initialization for these */
static struct ext4_fs fs;
@@ -277,7 +277,6 @@ try
/* XXX: not sure if disk_id matters */
int r = ext4_mbr_write (bd, &parts, 0);
-
if (r) {
throw CopyError ("Failed to write MBR", r);
}