4
0
mirror of git://sourceware.org/git/newlib-cygwin.git synced 2025-02-18 23:12:15 +08:00

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

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. */