]> git.michaelhowe.org Git - packages/o/openafs.git/commit
DEVEL15-windows-pioctl-getdrivetype-20080816
authorJeffrey Altman <jaltman@secure-endpoints.com>
Sat, 16 Aug 2008 17:50:06 +0000 (17:50 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Sat, 16 Aug 2008 17:50:06 +0000 (17:50 +0000)
commita8799004695b4c5f4b122ae42d1eb31b08b73207
treed2a3c55dd86b68462982b14a640450cef771b7ef
parent7d3578448c26a53ddaf79fa088d8ac247d759d96
DEVEL15-windows-pioctl-getdrivetype-20080816

LICENSE MIT

Use GetDriveType() to check if the current path is a local disk.
If it is, fail the pioctl attempt immediately.  This should avoid
the reported 30 second delay in the AFS Shell Extension.

(cherry picked from commit ffbee95174ad1fffecff2889e80e168cea60a531)
src/sys/pioctl_nt.c