fs/ntfs3: Add ckeck in ni_update_parent()
authorKonstantin Komarov <almaz.alexandrovich@paragon-software.com>
Fri, 30 Jun 2023 11:52:19 +0000 (15:52 +0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 8 Nov 2023 13:10:58 +0000 (14:10 +0100)
commitfc91bb3e1b2bc74d911fca43920384887220790c
treea969740f4a1bef0ca2d4e889cb89c02545660129
parent768e857ac3e0aabc87e18b4f0ab15747628451eb
fs/ntfs3: Add ckeck in ni_update_parent()

[ Upstream commit 87d1888aa40f25773fa0b948bcb2545f97e2cb15 ]

Check simple case when parent inode equals current inode.

Signed-off-by: Konstantin Komarov <almaz.alexandrovich@paragon-software.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
fs/ntfs3/frecord.c