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
Kirill Smelkov
linux
Commits
9b06fc7b
Commit
9b06fc7b
authored
21 years ago
by
Joe Thornber
Committed by
Greg Kroah-Hartman
21 years ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] dm: Remove some debug messages
parent
c308cc50
No related merge requests found
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)
{
unsigned
int
i
;
DMWARN
(
"destroying table"
);
/* destroying the table counts as an event */
dm_table_event
(
t
);
...
...
This diff is collapsed.
Click to expand it.
drivers/md/dm.c
View file @
9b06fc7b
...
...
@@ -589,7 +589,6 @@ static struct mapped_device *alloc_dev(unsigned int minor)
return
NULL
;
}
DMWARN
(
"allocating minor %d."
,
minor
);
memset
(
md
,
0
,
sizeof
(
*
md
));
init_rwsem
(
&
md
->
lock
);
atomic_set
(
&
md
->
holders
,
1
);
...
...
@@ -693,7 +692,6 @@ void dm_get(struct mapped_device *md)
void
dm_put
(
struct
mapped_device
*
md
)
{
if
(
atomic_dec_and_test
(
&
md
->
holders
))
{
DMWARN
(
"destroying md"
);
if
(
!
test_bit
(
DMF_SUSPENDED
,
&
md
->
flags
))
dm_table_suspend_targets
(
md
->
map
);
__unbind
(
md
);
...
...
This diff is collapsed.
Click to expand it.
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