diff options
author | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2019-07-21 20:22:04 +0200 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2019-07-21 20:22:04 +0200 |
commit | 2a05bf5bc660bfebb35e42f1f8a0c0ac56e0f9d9 (patch) | |
tree | 07492d6744db580ba487503a7a4572d4a92ae0c1 /mkfs/mkfs.c | |
parent | 80cc3970e97ec71b5e645ca5132bebf115423fb2 (diff) |
Implement generating an inode table for NFS export
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'mkfs/mkfs.c')
-rw-r--r-- | mkfs/mkfs.c | 5 |
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; |