Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
8a38fbca
Commit
8a38fbca
authored
Jan 31, 2011
by
Ken Thomases
Committed by
Alexandre Julliard
Feb 01, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mountmgr: Balance volume references in add_volume().
parent
af641eb4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
device.c
dlls/mountmgr.sys/device.c
+5
-1
No files found.
dlls/mountmgr.sys/device.c
View file @
8a38fbca
...
...
@@ -666,7 +666,11 @@ NTSTATUS add_volume( const char *udi, const char *device, const char *mount_poin
EnterCriticalSection
(
&
device_section
);
LIST_FOR_EACH_ENTRY
(
volume
,
&
volumes_list
,
struct
volume
,
entry
)
if
(
volume
->
udi
&&
!
strcmp
(
udi
,
volume
->
udi
))
goto
found
;
if
(
volume
->
udi
&&
!
strcmp
(
udi
,
volume
->
udi
))
{
grab_volume
(
volume
);
goto
found
;
}
/* udi not found, search for a non-dynamic volume */
if
((
volume
=
find_matching_volume
(
udi
,
device
,
mount_point
,
type
)))
set_volume_udi
(
volume
,
udi
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment