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)
committerKonstantin Komarov <almaz.alexandrovich@paragon-software.com>
Sat, 12 Nov 2022 17:59:45 +0000 (20:59 +0300)
commit658015167a8432b88f5d032e9d85d8fd50e5bf2c
treefdcc0a72f8f78b52b77bcc29d8000907f0a5e8ef
parentd49436c34448e01eb6ab85413af87de73c99494d
fs/ntfs3: Delete duplicate condition in ntfs_read_mft()

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>
fs/ntfs3/inode.c