mirror of
git://sourceware.org/git/lvm2.git
synced 2025-03-08 08:58:50 +03:00
Do not issue an error message when unable to remove .cache on read-only fs.
This commit is contained in:
parent
8dad498967
commit
5fb0c20297
@ -1,5 +1,6 @@
|
|||||||
Version 2.02.86 -
|
Version 2.02.86 -
|
||||||
=================================
|
=================================
|
||||||
|
Do not issue an error message when unable to remove .cache on read-only fs.
|
||||||
Avoid memlock size mismatch by preallocating stdio line buffers.
|
Avoid memlock size mismatch by preallocating stdio line buffers.
|
||||||
Reorganize lvconvert --repair code to allow reuse.
|
Reorganize lvconvert --repair code to allow reuse.
|
||||||
Rewrite vgreduce --removemissing --force leveraging shared lvconvert code.
|
Rewrite vgreduce --removemissing --force leveraging shared lvconvert code.
|
||||||
|
@ -108,7 +108,7 @@ int persistent_filter_load(struct dev_filter *f, struct config_tree **cft_out)
|
|||||||
log_very_verbose("Obtaining device list from "
|
log_very_verbose("Obtaining device list from "
|
||||||
"udev. Removing obolete %s.",
|
"udev. Removing obolete %s.",
|
||||||
pf->file);
|
pf->file);
|
||||||
if (unlink(pf->file) < 0)
|
if (unlink(pf->file) < 0 && errno != EROFS)
|
||||||
log_sys_error("unlink", pf->file);
|
log_sys_error("unlink", pf->file);
|
||||||
}
|
}
|
||||||
return 1;
|
return 1;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user