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
07d93882
Commit
07d93882
authored
Oct 03, 2016
by
Mike Snitzer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dm cache metadata: remove an extra newline in DMERR and code
Signed-off-by:
Mike Snitzer
<
snitzer@redhat.com
>
parent
209e2367
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
drivers/md/dm-cache-metadata.c
drivers/md/dm-cache-metadata.c
+1
-2
No files found.
drivers/md/dm-cache-metadata.c
View file @
07d93882
...
...
@@ -383,7 +383,6 @@ static int __format_metadata(struct dm_cache_metadata *cmd)
goto
bad
;
dm_disk_bitset_init
(
cmd
->
tm
,
&
cmd
->
discard_info
);
r
=
dm_bitset_empty
(
&
cmd
->
discard_info
,
&
cmd
->
discard_root
);
if
(
r
<
0
)
goto
bad
;
...
...
@@ -789,7 +788,7 @@ static struct dm_cache_metadata *lookup_or_open(struct block_device *bdev,
static
bool
same_params
(
struct
dm_cache_metadata
*
cmd
,
sector_t
data_block_size
)
{
if
(
cmd
->
data_block_size
!=
data_block_size
)
{
DMERR
(
"data_block_size (%llu) different from that in metadata (%llu)
\n
"
,
DMERR
(
"data_block_size (%llu) different from that in metadata (%llu)"
,
(
unsigned
long
long
)
data_block_size
,
(
unsigned
long
long
)
cmd
->
data_block_size
);
return
false
;
...
...
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