mirror of
https://github.com/reactos/reactos.git
synced 2025-07-31 18:51:37 +00:00
[BTRFS] Upgrade to BtrFS 1.0.1
CID 1419459, 1419378 CORE-13896
This commit is contained in:
parent
194df1ba58
commit
4672b2ba5e
15 changed files with 329 additions and 152 deletions
|
@ -628,7 +628,7 @@ static NTSTATUS query_directory(PIRP Irp) {
|
|||
return STATUS_NO_MORE_FILES;
|
||||
|
||||
ExAcquireResourceSharedLite(&Vcb->tree_lock, TRUE);
|
||||
ExAcquireResourceSharedLite(&Vcb->fcb_lock, TRUE);
|
||||
acquire_fcb_lock_shared(Vcb);
|
||||
|
||||
TRACE("%S\n", file_desc(IrpSp->FileObject));
|
||||
|
||||
|
@ -658,8 +658,6 @@ static NTSTATUS query_directory(PIRP Irp) {
|
|||
TRACE(" unknown flags: %u\n", flags);
|
||||
}
|
||||
|
||||
initial = !ccb->query_string.Buffer;
|
||||
|
||||
if (IrpSp->Flags & SL_RESTART_SCAN) {
|
||||
ccb->query_dir_offset = 0;
|
||||
|
||||
|
@ -667,8 +665,13 @@ static NTSTATUS query_directory(PIRP Irp) {
|
|||
RtlFreeUnicodeString(&ccb->query_string);
|
||||
ccb->query_string.Buffer = NULL;
|
||||
}
|
||||
|
||||
ccb->has_wildcard = FALSE;
|
||||
ccb->specific_file = FALSE;
|
||||
}
|
||||
|
||||
initial = !ccb->query_string.Buffer;
|
||||
|
||||
if (IrpSp->Parameters.QueryDirectory.FileName && IrpSp->Parameters.QueryDirectory.FileName->Length > 1) {
|
||||
TRACE("QD filename: %.*S\n", IrpSp->Parameters.QueryDirectory.FileName->Length / sizeof(WCHAR), IrpSp->Parameters.QueryDirectory.FileName->Buffer);
|
||||
|
||||
|
@ -906,7 +909,7 @@ end:
|
|||
ExReleaseResourceLite(&fileref->fcb->nonpaged->dir_children_lock);
|
||||
|
||||
end2:
|
||||
ExReleaseResourceLite(&Vcb->fcb_lock);
|
||||
release_fcb_lock(Vcb);
|
||||
ExReleaseResourceLite(&Vcb->tree_lock);
|
||||
|
||||
TRACE("returning %08x\n", Status);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue