Re: [PATCH] ntfs: drop nlink once for WIN32/DOS aliases

From: Namjae Jeon

Date: Wed Apr 29 2026 - 18:07:17 EST


On Tue, Apr 28, 2026 at 11:04 AM Hyunchul Lee <hyc.lee@xxxxxxxxx> wrote:
>
> NTFS could store a filename as paired WIN32 and
> DOS $FILE_NAME attributes for directories.
> But ntfs_delete() deleted both attributes for
> unlinking a directory, but it also called
> drop_nlink() for each attributes.
>
> This could trigger warnings when unlinking
> directories.
>
> Signed-off-by: Hyunchul Lee <hyc.lee@xxxxxxxxx>
Applied it to #ntfs-next.
Thanks!