if (ctx->supported_features.security_descriptors &&
inode->i_security_id != -1)
{
- const struct wim_security_data *sd;
+ struct wim_security_data *sd;
const u8 *desc;
size_t desc_size;
- sd = wim_const_security_data(ctx->wim);
+ sd = wim_get_current_security_data(ctx->wim);
desc = sd->descriptors[inode->i_security_id];
desc_size = sd->sizes[inode->i_security_id];
ctx.progress.extract.target = target;
}
- ctx.target_dentry = wim_root_dentry(wim);
+ ctx.target_dentry = wim_get_current_root_dentry(wim);
/* Note: ctx.target_dentry represents the dentry that gets extracted to
* @target. There may be none, in which case it gets set to the image
* root and never matches any of the dentries actually being extracted.