mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 21:45:41 +00:00
[BTRFS] Applied upstream pull-requests before they are merged
This commit is contained in:
parent
3b69eee7a6
commit
0e61b570e7
2 changed files with 73 additions and 0 deletions
|
@ -675,7 +675,11 @@ static NTSTATUS query_directory(PIRP Irp) {
|
|||
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);
|
||||
|
||||
#ifndef __REACTOS__
|
||||
if (IrpSp->Parameters.QueryDirectory.FileName->Buffer[0] != '*') {
|
||||
#else
|
||||
if (IrpSp->Parameters.QueryDirectory.FileName->Length > sizeof(WCHAR) || IrpSp->Parameters.QueryDirectory.FileName->Buffer[0] != L'*') {
|
||||
#endif
|
||||
specific_file = TRUE;
|
||||
|
||||
if (FsRtlDoesNameContainWildCards(IrpSp->Parameters.QueryDirectory.FileName)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue