summaryrefslogtreecommitdiff
path: root/testing/lvm2/Be-quiet-on-removing-cache-on-read-only-fs.diff
diff options
context:
space:
mode:
authorParabola <dev@list.parabolagnulinux.org>2011-05-19 16:52:00 +0000
committerParabola <dev@list.parabolagnulinux.org>2011-05-19 16:52:00 +0000
commitb8ea4461e461f0e1782e28b5810eb811423afa79 (patch)
treec11f256cb01c37f0b2ab370c4838fa4e3949e2a1 /testing/lvm2/Be-quiet-on-removing-cache-on-read-only-fs.diff
parent82b609ecce972e236c2ce887ecd55ec30e2874a7 (diff)
Thu May 19 16:52:00 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.diff17
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;