1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

Remove unneeded parameter.

This commit is contained in:
Milan Broz 2011-11-11 16:41:37 +00:00
parent 0abb3d7c11
commit a3390bb507
3 changed files with 3 additions and 3 deletions

View File

@ -443,7 +443,7 @@ int target_version(const char *target_name, uint32_t *maj,
return r;
}
int lvm_dm_prefix_check(const char *sysfs_dir, int major, int minor, const char *prefix)
int lvm_dm_prefix_check(int major, int minor, const char *prefix)
{
struct dm_task *dmt;
const char *uuid;

View File

@ -53,7 +53,7 @@ int target_present(struct cmd_context *cmd, const char *target_name,
int use_modprobe);
int target_version(const char *target_name, uint32_t *maj,
uint32_t *min, uint32_t *patchlevel);
int lvm_dm_prefix_check(const char *sysfs_dir, int major, int minor, const char *prefix);
int lvm_dm_prefix_check(int major, int minor, const char *prefix);
int list_segment_modules(struct dm_pool *mem, const struct lv_segment *seg,
struct dm_list *modules);
int list_lv_modules(struct dm_pool *mem, const struct logical_volume *lv,

View File

@ -136,7 +136,7 @@ static int dev_is_mpath(struct dev_filter *f, struct device *dev)
if (major != dm_major())
return 0;
return lvm_dm_prefix_check(sysfs_dir, major, minor, MPATH_PREFIX);
return lvm_dm_prefix_check(major, minor, MPATH_PREFIX);
}
static int _ignore_mpath(struct dev_filter *f, struct device *dev)