Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
9b06fc7b
Commit
9b06fc7b
authored
Jun 08, 2003
by
Joe Thornber
Committed by
Greg Kroah-Hartman
Jun 08, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] dm: Remove some debug messages
parent
c308cc50
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
4 deletions
+0
-4
drivers/md/dm-table.c
drivers/md/dm-table.c
+0
-2
drivers/md/dm.c
drivers/md/dm.c
+0
-2
No files found.
drivers/md/dm-table.c
View file @
9b06fc7b
...
@@ -243,8 +243,6 @@ void table_destroy(struct dm_table *t)
...
@@ -243,8 +243,6 @@ void table_destroy(struct dm_table *t)
{
{
unsigned
int
i
;
unsigned
int
i
;
DMWARN
(
"destroying table"
);
/* destroying the table counts as an event */
/* destroying the table counts as an event */
dm_table_event
(
t
);
dm_table_event
(
t
);
...
...
drivers/md/dm.c
View file @
9b06fc7b
...
@@ -589,7 +589,6 @@ static struct mapped_device *alloc_dev(unsigned int minor)
...
@@ -589,7 +589,6 @@ static struct mapped_device *alloc_dev(unsigned int minor)
return
NULL
;
return
NULL
;
}
}
DMWARN
(
"allocating minor %d."
,
minor
);
memset
(
md
,
0
,
sizeof
(
*
md
));
memset
(
md
,
0
,
sizeof
(
*
md
));
init_rwsem
(
&
md
->
lock
);
init_rwsem
(
&
md
->
lock
);
atomic_set
(
&
md
->
holders
,
1
);
atomic_set
(
&
md
->
holders
,
1
);
...
@@ -693,7 +692,6 @@ void dm_get(struct mapped_device *md)
...
@@ -693,7 +692,6 @@ void dm_get(struct mapped_device *md)
void
dm_put
(
struct
mapped_device
*
md
)
void
dm_put
(
struct
mapped_device
*
md
)
{
{
if
(
atomic_dec_and_test
(
&
md
->
holders
))
{
if
(
atomic_dec_and_test
(
&
md
->
holders
))
{
DMWARN
(
"destroying md"
);
if
(
!
test_bit
(
DMF_SUSPENDED
,
&
md
->
flags
))
if
(
!
test_bit
(
DMF_SUSPENDED
,
&
md
->
flags
))
dm_table_suspend_targets
(
md
->
map
);
dm_table_suspend_targets
(
md
->
map
);
__unbind
(
md
);
__unbind
(
md
);
...
...
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