fs/ntfs3: reject SEEK_DATA and SEEK_HOLE past EOF early

Handle non-data/hole seeks through generic_file_llseek_size() and return
-ENXIO immediately when SEEK_DATA or SEEK_HOLE is requested at or past
EOF. Handle compressed files in such cases properly as well.

Signed-off-by: Konstantin Komarov <almaz.alexandrovich@paragon-software.com>
This commit is contained in:
Konstantin Komarov 2026-05-22 15:14:39 +02:00
commit a82fbf4815
No known key found for this signature in database
GPG key ID: A9B0331F832407B6
2 changed files with 21 additions and 10 deletions