The code should no longer assume that all streams have been resolved
before mounting, since now errors are issued when accessing files with
missing streams.
However this line still appeared to work correctly because FUSE seems to
always call getattr(), which results in stream resolution in
wim_pathname_to_stream(), before unlinking.
unsigned i;
for (i = 0; i <= inode->i_num_ads; i++) {
unsigned i;
for (i = 0; i <= inode->i_num_ads; i++) {
- lte = inode_stream_lte_resolved(inode, i);
+ lte = inode_stream_lte(inode, i, lookup_table);
if (lte)
lte_decrement_refcnt(lte, lookup_table);
}
if (lte)
lte_decrement_refcnt(lte, lookup_table);
}