fs/ntfs3: Add ckeck in ni_update_parent()

[ Upstream commit 87d1888aa4 ]

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>
This commit is contained in:
Konstantin Komarov 2023-06-30 15:52:19 +04:00 • committed by Greg Kroah-Hartman
commit fc91bb3e1b