Skip to content
Snippets Groups Projects
Unverified Commit 302e9dca authored by Konstantin Komarov's avatar Konstantin Komarov
Browse files

fs/ntfs3: Break dir enumeration if directory contents error


If we somehow attempt to read beyond the directory size, an error
is supposed to be returned.

However, in some cases, read requests do not stop and instead enter
into a loop.

To avoid this, we set the position in the directory to the end.

Signed-off-by: default avatarKonstantin Komarov <almaz.alexandrovich@paragon-software.com>
Cc: stable@vger.kernel.org
parent 05afeeeb
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment