If length of symlink > 255, then we tried to convert length of symlink +- some random number. So main theme is removing 255 symbols limit in ntfs_utf16_to_nls. Other bug - we haven't always returned correct size of symlink, so we save it now in ntfs_create_inode. Many commits affected, so no fixes tag. This series fixes xfstest generic/423. Konstantin Komarov (5): fs/ntfs3: Rework ntfs_utf16_to_nls fs/ntfs3: Refactor ntfs_readlink_hlp fs/ntfs3: Refactor ntfs_create_inode fs/ntfs3: Refactor ni_parse_reparse fs/ntfs3: Refactor ntfs_read_mft fs/ntfs3/dir.c | 19 +++---- fs/ntfs3/frecord.c | 9 ++-- fs/ntfs3/inode.c | 124 +++++++++++++++++++++------------------------ fs/ntfs3/ntfs_fs.h | 4 +- 4 files changed, 74 insertions(+), 82 deletions(-) -- 2.33.0