[VFATLIB] Make Chkdsk handle volume opening locking failures.
authorPierre Schweitzer <pierre@reactos.org>
Sat, 9 Dec 2017 20:07:09 +0000 (21:07 +0100)
committerPierre Schweitzer <pierre@reactos.org>
Sat, 9 Dec 2017 20:12:09 +0000 (21:12 +0100)
commit6a224a38a15bd3b02ce3b20eef3a3f2ccf68ab96
tree873ec6527e2e6112619c84012016363ba03947eb
parent287d7cd80a5308624002a5d035bfdd7a56fc2c11
[VFATLIB] Make Chkdsk handle volume opening locking failures.
For instance, when repair is required, we can ask the caller whether we should
continue or not in case locking failed.
Also, introduced a hack for 1st stage where IopParseDevice() hack is in usage
so that broken NTSTATUS is diverted to appropriate status.
That way, usetup will properly continue even if locking failed (due to its
callback stub!)

CORE-14087
sdk/lib/fslib/vfatlib/check/io.c
sdk/lib/fslib/vfatlib/check/io.h
sdk/lib/fslib/vfatlib/vfatlib.c