summaryrefslogtreecommitdiff
path: root/mkfs/mkfs.c
diff options
context:
space:
mode:
Diffstat (limited to 'mkfs/mkfs.c')
-rw-r--r--mkfs/mkfs.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/mkfs/mkfs.c b/mkfs/mkfs.c
index f1c1f1b..91cb9bd 100644
--- a/mkfs/mkfs.c
+++ b/mkfs/mkfs.c
@@ -185,6 +185,11 @@ int main(int argc, char **argv)
if (data_writer_write_fragment_table(data))
goto out_data;
+ if (opt.exportable) {
+ if (write_export_table(outfd, &fs, &super, cmp))
+ goto out_data;
+ }
+
if (id_table_write(&idtbl, outfd, &super, cmp))
goto out_data;