win32_capture: check for STATUS_NOT_SUPPORTED from FSCTL_GET_EXTERNAL_BACKING
authorEric Biggers <ebiggers3@gmail.com>
Sat, 2 Jan 2016 17:34:37 +0000 (11:34 -0600)
committerEric Biggers <ebiggers3@gmail.com>
Sat, 2 Jan 2016 17:34:37 +0000 (11:34 -0600)
src/win32_capture.c

index 70d7fd7ebf4fd08f797ce53c75c6d01f1d4c66be..07d073bfb9618694a9885ba699194bb9ca521c7d 100644 (file)
@@ -1279,7 +1279,8 @@ try_to_use_wimboot_hash(HANDLE h, struct wim_inode *inode,
                                                 NULL, 0, &out, sizeof(out));
 
                /* Is WOF not attached?  */
-               if (status == STATUS_INVALID_DEVICE_REQUEST) {
+               if (status == STATUS_INVALID_DEVICE_REQUEST ||
+                   status == STATUS_NOT_SUPPORTED) {
                        ctx->wof_not_attached = true;
                        return 0;
                }