]> wimlib.net Git - wimlib/blobdiff - src/ntfs-3g_apply.c
Rename dentry name fields
[wimlib] / src / ntfs-3g_apply.c
index 9de5774bd256661278f28b270cb2ae4d5cfbf48c..3dcf8d539c8354b96d61d301ffb50003fe640729 100644 (file)
@@ -280,7 +280,7 @@ ntfs_3g_restore_dos_name(ntfs_inode *ni, ntfs_inode *dir_ni,
         * UTF-16LE internally... which is annoying because we currently have
         * the UTF-16LE string but not the multibyte string.  */
 
-       ret = utf16le_get_tstr(dentry->short_name, dentry->short_name_nbytes,
+       ret = utf16le_get_tstr(dentry->d_short_name, dentry->d_short_name_nbytes,
                               &dos_name, &dos_name_nbytes);
        if (ret)
                goto out_close;