summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2008-10-26 07:16:13 +0000
committerMike Frysinger <vapier@gentoo.org>2008-10-26 07:16:13 +0000
commit7a90ca0549c7d67b4868b29103c65a4acc3aac4b (patch)
treee7277df8db691d007f508c6700360573f6892461 /sys-fs/reiser4progs/files
parentupdate URLs #224755 (diff)
downloadgentoo-2-7a90ca0549c7d67b4868b29103c65a4acc3aac4b.tar.gz
gentoo-2-7a90ca0549c7d67b4868b29103c65a4acc3aac4b.tar.bz2
gentoo-2-7a90ca0549c7d67b4868b29103c65a4acc3aac4b.zip
Fix by Anders Aagaard for -p (preen) operation #237393.
(Portage version: 2.2_rc12/cvs/Linux 2.6.26.2 x86_64)
Diffstat (limited to 'sys-fs/reiser4progs/files')
-rw-r--r--sys-fs/reiser4progs/files/reiser4progs-1.0.6-preen.patch17
1 files changed, 8 insertions, 9 deletions
diff --git a/sys-fs/reiser4progs/files/reiser4progs-1.0.6-preen.patch b/sys-fs/reiser4progs/files/reiser4progs-1.0.6-preen.patch
index d6b8374108a9..c48eb0d54169 100644
--- a/sys-fs/reiser4progs/files/reiser4progs-1.0.6-preen.patch
+++ b/sys-fs/reiser4progs/files/reiser4progs-1.0.6-preen.patch
@@ -1,4 +1,4 @@
-make -p mean "preen" like all other checkers
+Alias -p "preen" to -a "auto".
http://bugs.gentoo.org/195988
@@ -50,17 +50,16 @@ http://bugs.gentoo.org/195988
{"cache", required_argument, 0, 'c'},
{"override", required_argument, NULL, 'o'},
/* Fsck hidden options. */
-@@ -203,6 +205,9 @@
- case 'q':
- aux_gauge_set_handler(NULL, GT_PROGRESS);
+@@ -190,6 +192,8 @@
+ case 'f':
+ aal_set_bit(&data->options, FSCK_OPT_FORCE);
break;
+ case 'p':
-+ /* Fall through as preen should fix errors */
-+ mode = RM_FIX;
- case 'y':
- aal_set_bit(&data->options, FSCK_OPT_YES);
++ /* Fall through to auto, as preen is an alias for -a */
+ case 'a':
+ aal_set_bit(&data->options, FSCK_OPT_AUTO);
break;
-@@ -226,9 +231,6 @@
+@@ -226,9 +230,6 @@
case 'l':
mode = RM_SHOW_PLUG;
break;