fs/ntfs3: Delete duplicate condition in ntfs_read_mft()
authorDan Carpenter <dan.carpenter@oracle.com>
Sat, 15 Oct 2022 08:28:55 +0000 (11:28 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 12 Jan 2023 10:58:45 +0000 (11:58 +0100)
commitdd34665cb00449504c9da90a0ef6d3f3da56b035
tree1186fec92f3fed7792dd6fa1dff0d734a80c6e58
parenta9847a11b683784d78893a8c8c07e5ceeda8b1c6
fs/ntfs3: Delete duplicate condition in ntfs_read_mft()

[ Upstream commit 658015167a8432b88f5d032e9d85d8fd50e5bf2c ]

There were two patches which addressed the same bug and added the same
condition:

commit 6db620863f85 ("fs/ntfs3: Validate data run offset")
commit 887bfc546097 ("fs/ntfs3: Fix slab-out-of-bounds read in run_unpack")

Delete one condition.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Konstantin Komarov <almaz.alexandrovich@paragon-software.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
fs/ntfs3/inode.c