mirror of
https://github.com/systemd/systemd.git
synced 2025-03-19 22:50:17 +03:00
repart: Remove unused Context argument from make_subvolumes_set()
This commit is contained in:
parent
9f482c5a05
commit
9023266a0e
@ -4820,7 +4820,6 @@ static int add_subvolume_path(const char *path, Set **subvolumes) {
|
||||
}
|
||||
|
||||
static int make_subvolumes_set(
|
||||
Context *context,
|
||||
const Partition *p,
|
||||
const char *source,
|
||||
const char *target,
|
||||
@ -4828,7 +4827,6 @@ static int make_subvolumes_set(
|
||||
_cleanup_set_free_ Set *subvolumes = NULL;
|
||||
int r;
|
||||
|
||||
assert(context);
|
||||
assert(p);
|
||||
assert(target);
|
||||
assert(ret);
|
||||
@ -4918,7 +4916,7 @@ static int do_copy_files(Context *context, Partition *p, const char *root) {
|
||||
if (r < 0)
|
||||
return r;
|
||||
|
||||
r = make_subvolumes_set(context, p, *source, *target, &subvolumes_by_source_inode);
|
||||
r = make_subvolumes_set(p, *source, *target, &subvolumes_by_source_inode);
|
||||
if (r < 0)
|
||||
return r;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user