X-Git-Url: https://wimlib.net/git/?p=wimlib;a=blobdiff_plain;f=include%2Fwimlib%2Flookup_table.h;h=a169e3934985f995b80ae34a908def3fe35ab3ee;hp=a2feebf7e8b7959ee87adc11c0d25bd5945725a0;hb=91ba045392c18b7e12add95158cd2ab67c1505ae;hpb=8d51112e66e90048a944dcc58b01ab6b76e4c02c diff --git a/include/wimlib/lookup_table.h b/include/wimlib/lookup_table.h index a2feebf7..a169e393 100644 --- a/include/wimlib/lookup_table.h +++ b/include/wimlib/lookup_table.h @@ -136,7 +136,12 @@ struct wim_lookup_table_entry { * be extracted. * * During image export, this is set to the number of references of this - * stream that originated from the source WIM. */ + * stream that originated from the source WIM. + * + * When mounting a WIM image read-write, this is set to the number of + * extra references to this stream preemptively taken to allow later + * saving the modified image as a new image and leaving the original + * image alone. */ u32 out_refcnt; #ifdef WITH_FUSE @@ -225,6 +230,9 @@ struct wim_lookup_table_entry { /* Links streams being exported. */ struct list_head export_stream_list; + + /* Links original list of streams in the read-write mounted image. */ + struct list_head orig_stream_list; }; /* Links streams that are still unhashed after being been added to a