26{
28
30
33
35
37
39
43
44 Irp = IrpContext->Irp;
45
51 }
52
53 GlobalResourceAcquired =
TRUE;
54
57 ListEntry = ListEntry->
Flink ) {
58
60
64
66
67
68 Vcb->SuperBlock->s_mnt_count++;
69 if (
Vcb->SuperBlock->s_mnt_count >
70 Vcb->SuperBlock->s_max_mnt_count ) {
71 Vcb->SuperBlock->s_mnt_count =
72 Vcb->SuperBlock->s_max_mnt_count;
73 }
75
76
80 }
81
82
84
87 }
88
89
91 }
92
94 }
95 }
96
97
98
99
100
101
103
104 if (GlobalResourceAcquired) {
106 }
107
108 if (!IrpContext->ExceptionInProgress) {
111 } else {
113 }
114 }
116
118}
#define IRP_CONTEXT_FLAG_WAIT
#define NT_SUCCESS(StatCode)
#define ExAcquireResourceExclusiveLite(res, wait)
NTSTATUS Ext2QueueRequest(IN PEXT2_IRP_CONTEXT IrpContext)
BOOLEAN Ext2SaveSuper(IN PEXT2_IRP_CONTEXT IrpContext, IN PEXT2_VCB Vcb)
NTSTATUS Ext2DiskShutDown(PEXT2_VCB Vcb)
NTSTATUS Ext2CompleteIrpContext(IN PEXT2_IRP_CONTEXT IrpContext, IN NTSTATUS Status)
NTSTATUS Ext2FlushFiles(IN PEXT2_IRP_CONTEXT IrpContext, IN PEXT2_VCB Vcb, IN BOOLEAN bShutDown)
NTSTATUS Ext2FlushVolume(IN PEXT2_IRP_CONTEXT IrpContext, IN PEXT2_VCB Vcb, IN BOOLEAN bShutDown)
VOID FASTCALL ExReleaseResourceLite(IN PERESOURCE Resource)
struct _LIST_ENTRY * Flink
#define CONTAINING_RECORD(address, type, field)
#define STATUS_MEDIA_WRITE_PROTECTED