All the mail mirrored from lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Prevent Oops when mounting forward-incompatible volumes.
@ 2016-09-05 16:13 Edward Shishkin
  2016-09-17 12:05 ` doiggl
  0 siblings, 1 reply; 2+ messages in thread
From: Edward Shishkin @ 2016-09-05 16:13 UTC (permalink / raw
  To: reiserfs-devel; +Cc: Edward Shishkin

Signed-off-by: Edward Shishkin <edward.shishkin@gmail.com>
---
 init_super.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/init_super.c b/init_super.c
index bd1644b..fb37605 100644
--- a/init_super.c
+++ b/init_super.c
@@ -639,7 +639,7 @@ int reiser4_init_read_super(struct super_block *super, int silent)
 		}
 
 		sbinfo->df_plug =
-			disk_format_plugin_by_id(
+			disk_format_plugin_by_unsafe_id(
 				le16_to_cpu(get_unaligned(&master_sb->disk_plugin_id)));
 		if (sbinfo->df_plug == NULL) {
 			if (!silent)
-- 
2.7.4


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] Prevent Oops when mounting forward-incompatible volumes.
  2016-09-05 16:13 [PATCH] Prevent Oops when mounting forward-incompatible volumes Edward Shishkin
@ 2016-09-17 12:05 ` doiggl
  0 siblings, 0 replies; 2+ messages in thread
From: doiggl @ 2016-09-17 12:05 UTC (permalink / raw
  To: Edward Shishkin; +Cc: reiserfs-devel

Hello,
patch fails to apply to linux-4.7
http://www.spinics.net/lists/reiserfs-devel/msg05165.html

[1]reiser4-prevent-oops-when-mounting-forward-incompatible-volumes.patch 

-Whats missing ?
--Glenn


patch order
	patches.rpmify/reiser4-for-4.7.0.patch
	ppatches.rpmify/reiser4-prevent-oops-when-mounting-forward-incompatible-volumes.patch


From last build log:
https://build.opensuse.org/package/live_build_log/home:doiggl/kernel-vanilla/openSUSE_13.2/x86_64

[  246s] + cd linux-4.7
[  246s] + /home/abuild/rpmbuild/SOURCES/apply-patches --vanilla
/home/abuild/rpmbuild/SOURCES/series.conf ..
[  246s] + patch -s -F0 -E -p1 --no-backup-if-mismatch -i
../patches.rpmify/lustre-lloop-dont-change-logical-size
[  246s] + patch -s -F0 -E -p1 --no-backup-if-mismatch -i
../patches.rpmify/i915-fix-build-error-with-werror
[  246s] + patch -s -F0 -E -p1 --no-backup-if-mismatch -i
../patches.rpmify/reiser4-for-4.7.0.patch
[  246s] + patch -s -F0 -E -p1 --no-backup-if-mismatch -i
../patches.rpmify/reiser4-prevent-oops-when-mounting-forward-incompatible-volumes.patch
[  246s] The text leading up to this was:
[  246s] --------------------------
[  246s] |#Prevent-Oops-when-mounting-forward-incompatible-volumes.patch
[  246s] |#http://www.spinics.net/lists/reiserfs-devel/msg05165.html
[  246s] |---
[  246s] | init_super.c | 2 +-
[  246s] | 1 file changed, 1 insertion(+), 1 deletion(-)
[  246s] |
[  246s] |diff --git a/init_super.c b/init_super.c
[  246s] |index bd1644b..fb37605 100644
[  246s] |--- a/init_super.c
[  246s] |+++ b/init_super.c
[  246s] --------------------------
[  246s] File to patch: 
[  246s] Skip this patch? [y] 
[  246s] 1 out of 1 hunk ignored
[  246s] ++ echo '*** patch
../patches.rpmify/reiser4-prevent-oops-when-mounting-forward-incompatible-volumes.patch
failed ***'
[  246s] *** patch
../patches.rpmify/reiser4-prevent-oops-when-mounting-forward-incompatible-volumes.patch
failed ***
[  246s] error: Bad exit status from /var/tmp/rpm-tmp.jaeLa6 (%prep)
[  246s] 
[  246s] 
[  246s] RPM build errors:
[  246s]     Bad exit status from /var/tmp/rpm-tmp.jaeLa6 (%prep)
[  246s] 

#[patch content]

# cat
/home/r4/patches-latest/reiser4-prevent-oops-when-mounting-forward-incompatible-volumes.patch
#Prevent-Oops-when-mounting-forward-incompatible-volumes.patch
#http://www.spinics.net/lists/reiserfs-devel/msg05165.html
---
 init_super.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/init_super.c b/init_super.c
index bd1644b..fb37605 100644
--- a/init_super.c
+++ b/init_super.c
@@ -639,7 +639,7 @@ int reiser4_init_read_super(struct super_block *super,
int silent)
                }
 
                sbinfo->df_plug =
-                       disk_format_plugin_by_id(
+                       disk_format_plugin_by_unsafe_id(
                               
le16_to_cpu(get_unaligned(&master_sb->disk_plugin_id)));
                if (sbinfo->df_plug == NULL) {
                        if (!silent)
--

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-09-17 12:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-05 16:13 [PATCH] Prevent Oops when mounting forward-incompatible volumes Edward Shishkin
2016-09-17 12:05 ` doiggl

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.