mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +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 -
|
||||
=================================
|
||||
Do not issue an error message when unable to remove .cache on read-only fs.
|
||||
Avoid memlock size mismatch by preallocating stdio line buffers.
|
||||
Reorganize lvconvert --repair code to allow reuse.
|
||||
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 "
|
||||
"udev. Removing obolete %s.",
|
||||
pf->file);
|
||||
if (unlink(pf->file) < 0)
|
||||
if (unlink(pf->file) < 0 && errno != EROFS)
|
||||
log_sys_error("unlink", pf->file);
|
||||
}
|
||||
return 1;
|
||||
|
Loading…
Reference in New Issue
Block a user