From 2a05bf5bc660bfebb35e42f1f8a0c0ac56e0f9d9 Mon Sep 17 00:00:00 2001 From: David Oberhollenzer Date: Sun, 21 Jul 2019 20:22:04 +0200 Subject: Implement generating an inode table for NFS export Signed-off-by: David Oberhollenzer --- mkfs/mkfs.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'mkfs/mkfs.c') 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; -- cgit v1.2.3