diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2023-12-07 20:35:44 +0100 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2024-01-08 11:45:13 +0100 |
commit | 94d871eeac43657090138653ececd49dc97ee631 (patch) | |
tree | c6b86ab2389a42937ad8b9578566ac246f3354f3 /winsup | |
parent | 6bbeed74ca571b98af19dc7d52ce286f40c75229 (diff) | |
download | newlib-94d871eeac43657090138653ececd49dc97ee631.zip newlib-94d871eeac43657090138653ececd49dc97ee631.tar.gz newlib-94d871eeac43657090138653ececd49dc97ee631.tar.bz2 |
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.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/mount.cc b/winsup/cygwin/mount.cc index 9545d22..bf26c4a 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. */ |