mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
Remove unused passed parameters
This commit is contained in:
parent
f32b76a193
commit
beecb1e160
@ -1,5 +1,6 @@
|
|||||||
Version 1.02.68 -
|
Version 1.02.68 -
|
||||||
==================================
|
==================================
|
||||||
|
Remove unused passed parameters for _mirror_emit_segment_line().
|
||||||
Add dm_config and string character escaping functions to libdevmapper.
|
Add dm_config and string character escaping functions to libdevmapper.
|
||||||
Mark unreleased memory pools as internal error.
|
Mark unreleased memory pools as internal error.
|
||||||
|
|
||||||
|
@ -1594,10 +1594,8 @@ static int _replicator_emit_segment_line(const struct load_segment *seg, char *p
|
|||||||
/*
|
/*
|
||||||
* Returns: 1 on success, 0 on failure
|
* Returns: 1 on success, 0 on failure
|
||||||
*/
|
*/
|
||||||
static int _mirror_emit_segment_line(struct dm_task *dmt, uint32_t major,
|
static int _mirror_emit_segment_line(struct dm_task *dmt, struct load_segment *seg,
|
||||||
uint32_t minor, struct load_segment *seg,
|
char *params, size_t paramsize)
|
||||||
uint64_t *seg_start, char *params,
|
|
||||||
size_t paramsize)
|
|
||||||
{
|
{
|
||||||
int block_on_error = 0;
|
int block_on_error = 0;
|
||||||
int handle_errors = 0;
|
int handle_errors = 0;
|
||||||
@ -1784,8 +1782,7 @@ static int _emit_segment_line(struct dm_task *dmt, uint32_t major,
|
|||||||
break;
|
break;
|
||||||
case SEG_MIRRORED:
|
case SEG_MIRRORED:
|
||||||
/* Mirrors are pretty complicated - now in separate function */
|
/* Mirrors are pretty complicated - now in separate function */
|
||||||
r = _mirror_emit_segment_line(dmt, major, minor, seg, seg_start,
|
r = _mirror_emit_segment_line(dmt, seg, params, paramsize);
|
||||||
params, paramsize);
|
|
||||||
if (!r)
|
if (!r)
|
||||||
return_0;
|
return_0;
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user