/* Load the security descriptor of an NTFS inode into the corresponding WIM
* inode and the WIM image's security descriptor set. */
-static int
+static noinline_for_stack int
get_security_descriptor(ntfs_inode *ni, struct wim_inode *inode,
ntfs_volume *vol, struct wim_sd_set *sd_set)
{
{
const struct dos_name_node *node;
- if (dentry->is_win32_name) {
+ if (dentry->d_is_win32_name) {
node = lookup_dos_name(map, dentry->d_inode->i_ino);
if (node) {
- dentry->short_name = utf16le_dupz(node->dos_name,
- node->name_nbytes);
- if (!dentry->short_name)
+ dentry->d_short_name = utf16le_dupz(node->dos_name,
+ node->name_nbytes);
+ if (!dentry->d_short_name)
return WIMLIB_ERR_NOMEM;
- dentry->short_name_nbytes = node->name_nbytes;
+ dentry->d_short_name_nbytes = node->name_nbytes;
} else {
WARNING("NTFS inode %"PRIu64" has Win32 name with no "
"corresponding DOS name",
goto out;
if (name_type & FILE_NAME_WIN32) /* Win32 or Win32+DOS name (rather than POSIX) */
- root->is_win32_name = 1;
+ root->d_is_win32_name = 1;
inode = root->d_inode;