diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2023-12-07 22:35:44 +0300 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2024-01-08 13:45:13 +0300 |
commit | 94d871eeac43657090138653ececd49dc97ee631 (patch) | |
tree | c6b86ab2389a42937ad8b9578566ac246f3354f3 | |
parent | 6bbeed74ca571b98af19dc7d52ce286f40c75229 (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>
-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 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. */ |