summaryrefslogtreecommitdiffhomepage
path: root/src/fs
diff options
context:
space:
mode:
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;
-}