diff options
author | Parabola <dev@list.parabolagnulinux.org> | 2011-06-06 14:37:09 +0000 |
---|---|---|
committer | Parabola <dev@list.parabolagnulinux.org> | 2011-06-06 14:37:09 +0000 |
commit | c81b3455112a3b09a8341fc8c45a91bd92c15a12 (patch) | |
tree | 93c34f7cbae7441700884513f0e5ebcec9c5f512 /testing/lvm2/Be-quiet-on-removing-cache-on-read-only-fs.diff | |
parent | 3695b5d62c2aef6e82abc95d775a2ebd89bce081 (diff) |
Mon Jun 6 14:37:05 UTC 2011
Diffstat (limited to 'testing/lvm2/Be-quiet-on-removing-cache-on-read-only-fs.diff')
-rw-r--r-- | testing/lvm2/Be-quiet-on-removing-cache-on-read-only-fs.diff | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/testing/lvm2/Be-quiet-on-removing-cache-on-read-only-fs.diff b/testing/lvm2/Be-quiet-on-removing-cache-on-read-only-fs.diff deleted file mode 100644 index e75499e8e..000000000 --- a/testing/lvm2/Be-quiet-on-removing-cache-on-read-only-fs.diff +++ /dev/null @@ -1,17 +0,0 @@ -Do not issue an error message when unable to remove .cache on read-only fs. -=================================================================== -RCS file: /cvs/lvm2/LVM2/lib/filters/filter-persistent.c,v -retrieving revision 1.49 -retrieving revision 1.50 -diff -u -r1.49 -r1.50 ---- LVM2/lib/filters/filter-persistent.c 2011/04/22 12:05:33 1.49 -+++ LVM2/lib/filters/filter-persistent.c 2011/05/12 12:42:48 1.50 -@@ -108,7 +108,7 @@ - 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; |