linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/5] fs/ntfs3: Reworking symlink functions
@ 2021-10-05 16:43 Konstantin Komarov
  2021-10-05 16:47 ` [PATCH 1/5] fs/ntfs3: Rework ntfs_utf16_to_nls Konstantin Komarov
                   ` (4 more replies)
  0 siblings, 5 replies; 7+ messages in thread
From: Konstantin Komarov @ 2021-10-05 16:43 UTC (permalink / raw)
  To: ntfs3; +Cc: linux-kernel, linux-fsdevel

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


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2021-10-17  8:10 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-05 16:43 [PATCH 0/5] fs/ntfs3: Reworking symlink functions Konstantin Komarov
2021-10-05 16:47 ` [PATCH 1/5] fs/ntfs3: Rework ntfs_utf16_to_nls Konstantin Komarov
2021-10-17  8:10   ` Kari Argillander
2021-10-05 16:47 ` [PATCH 2/5] fs/ntfs3: Refactor ntfs_readlink_hlp Konstantin Komarov
2021-10-05 16:47 ` [PATCH 3/5] fs/ntfs3: Refactor ntfs_create_inode Konstantin Komarov
2021-10-05 16:48 ` [PATCH 4/5] fs/ntfs3: Refactor ni_parse_reparse Konstantin Komarov
2021-10-05 16:48 ` [PATCH 5/5] fs/ntfs3: Refactor ntfs_read_mft Konstantin Komarov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).