int
verify_inode(struct wim_inode *inode, const struct wim_security_data *sd)
{
- struct wim_dentry *dentry;
-
/* Check the security ID. -1 is valid and means "no security
* descriptor". Anything else has to be a valid index into the WIM
* image's security descriptors table. */
}
}
+void
+inode_unref_streams(struct wim_inode *inode,
+ struct wim_lookup_table *lookup_table)
+{
+ struct wim_lookup_table_entry *lte;
+ unsigned i;
+
+ for (i = 0; i <= inode->i_num_ads; i++) {
+ lte = inode_stream_lte(inode, i, lookup_table);
+ if (lte)
+ lte_decrement_refcnt(lte, lookup_table);
+ }
+}
+
int
init_inode_table(struct wim_inode_table *table, size_t capacity)
{