Cygwin: check remote drives for being SSDs as well

This enables automatic sparse file support for remote SSDs.

Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
This commit is contained in:
Corinna Vinschen 2023-12-07 20:35:44 +01:00
parent 6bbeed74ca
commit 94d871eeac
1 changed files with 1 additions and 1 deletions

View File

@ -524,7 +524,7 @@ fs_info::update (PUNICODE_STRING upath, HANDLE in_vol)
&& !is_nfs ());
/* Check for being an SSD */
if (!is_remote_drive () && !is_cdrom ())
if (!is_cdrom ())
{
/* Theoretically FileFsVolumeFlagsInformation would be sufficient,
but apparently it's not exposed into userspace. */