summaryrefslogtreecommitdiffhomepage
path: root/src/fs
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-12-25 02:24:46 -0500
committermidipix <writeonce@midipix.org>2016-12-25 02:24:46 -0500
commitc64b966ff83861a70914e88cd047ae414b5ce41d (patch)
treed30c1f09337c468880a761c3059d46352588f073 /src/fs
parentd8b4079264a3139f35d784b873d3490b40ffbeff (diff)
downloadntapi-c64b966ff83861a70914e88cd047ae414b5ce41d.tar.bz2
ntapi-c64b966ff83861a70914e88cd047ae414b5ce41d.tar.xz
file-system interfaces: removed the inadequate ntapi_tt_validate_fs_handle.
Diffstat (limited to 'src/fs')
-rw-r--r--src/fs/ntapi_tt_istat.c27
1 files changed, 0 insertions, 27 deletions
diff --git a/src/fs/ntapi_tt_istat.c b/src/fs/ntapi_tt_istat.c
index 83c7f9a..5e6df3d 100644
--- a/src/fs/ntapi_tt_istat.c
+++ b/src/fs/ntapi_tt_istat.c
@@ -126,30 +126,3 @@ int32_t __stdcall __ntapi_tt_istat(
return status;
}
-
-
-int32_t __stdcall __ntapi_tt_validate_fs_handle(
- __in void * hfile,
- __in uint32_t dev_name_hash,
- __in nt_fii fii,
- __out uintptr_t * buffer,
- __in uint32_t buffer_size)
-{
- int32_t status;
- nt_istat istat;
-
- status = __ntapi->tt_istat(
- hfile,
- &istat,sizeof(istat),
- buffer,buffer_size,
- NT_ISTAT_DEFAULT);
-
- if (status) return status;
-
- if (istat.fii.index_number.quad != fii.index_number.quad)
- return NT_STATUS_CONTEXT_MISMATCH;
- else if (istat.dev_name_hash != dev_name_hash)
- return NT_STATUS_CONTEXT_MISMATCH;
-
- return NT_STATUS_SUCCESS;
-}