From 94d871eeac43657090138653ececd49dc97ee631 Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Thu, 7 Dec 2023 20:35:44 +0100 Subject: Cygwin: check remote drives for being SSDs as well This enables automatic sparse file support for remote SSDs. Signed-off-by: Corinna Vinschen --- winsup/cygwin/mount.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'winsup') diff --git a/winsup/cygwin/mount.cc b/winsup/cygwin/mount.cc index 9545d22e0..bf26c4af3 100644 --- a/winsup/cygwin/mount.cc +++ b/winsup/cygwin/mount.cc @@ -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. */ -- cgit v1.2.3