Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/winsup
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2023-12-07 22:35:44 +0300
committerCorinna Vinschen <corinna@vinschen.de>2024-01-08 13:45:13 +0300
commit94d871eeac43657090138653ececd49dc97ee631 (patch)
treec6b86ab2389a42937ad8b9578566ac246f3354f3 /winsup
parent6bbeed74ca571b98af19dc7d52ce286f40c75229 (diff)
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>
Diffstat (limited to 'winsup')
-rw-r--r--winsup/cygwin/mount.cc2
1 files changed, 1 insertions, 1 deletions
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. */