Commit bdee29d6 authored by Konstantin Komarov's avatar Konstantin Komarov Committed by Greg Kroah-Hartman
Browse files

fs/ntfs3: Fix getting file type



[ Upstream commit 24c5100a ]

An additional condition causes the mft record to be read from disk
and get the file type dt_type.

Fixes: 22457c04 ("fs/ntfs3: Modified fix directory element type detection")
Signed-off-by: default avatarKonstantin Komarov <almaz.alexandrovich@paragon-software.com>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent bd6af2b0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment