Skip to contentSkip to conversation

Why patch reiser4-for-3.17.3.patch does not apply ?

DISCUSSION [email protected] 3 participants 4 messages Jan 19, 2015

lore
Share & tools
lore
#0 lore raw

Hello,
The reiser4-for-3.17.3.patch fails against linux-3.17.tar

[ 94s] + cd linux-3.17
[ 94s] + /home/abuild/rpmbuild/SOURCES/apply-patches --vanilla
/home/abuild/rpmbuild/SOURCES/series.conf ..
[ 94s] + patch -s -F0 -E -p1 --no-backup-if-mismatch -i
../patches.rpmify/reiser4-for-3.17.3.patch
[ 94s] 1 out of 1 hunk FAILED -- saving rejects to file
include/linux/mm.h.rej
[ 94s] ++ echo '*** patch ../patches.rpmify/reiser4-for-3.17.3.patch
failed ***'
[ 94s] *** patch ../patches.rpmify/reiser4-for-3.17.3.patch failed ***

project
https://build.opensuse.org/package/show/home:doiggl/kernel-vanilla

specfile
https://build.opensuse.org/package/view_file/home:doiggl/kernel-vanilla/kernel-vanilla.spec?expand=1

patches applied
https://build.opensuse.org/package/view_file/home:doiggl/kernel-vanilla/series.conf?expand=1

full build log
https://build.opensuse.org/build/home:doiggl/openSUSE_13.1/x86_64/kernel-vanilla/_log

Question: Why patch reiser4-for-3.17.3.patch does not apply ? --Glenn

#1 lore raw

hello,
found the following.
What change will fix this ?
--Glenn

# cd /tmp/linux-3.17.1 
# patch -s -F0 -E -p1 --no-backup-if-mismatch -i
/reiser4-for-3.17.3.patch1 out of 1 hunk FAILED -- saving rejects to file
include/linux/mm.h.rej
# cat include/linux/mm.h.rej
--- include/linux/mm.h  2014-11-14 19:10:57.000000000 +0100
+++ include/linux/mm.h  2015-01-11 23:39:42.874076564 +0100
@@ -1235,6 +1235,7 @@
 void account_page_dirtied(struct page *page, struct address_space
*mapping);
 int set_page_dirty(struct page *page);
 int set_page_dirty_lock(struct page *page);
+int set_page_dirty_notag(struct page *page);
 int clear_page_dirty_for_io(struct page *page);
 int get_cmdline(struct task_struct *task, char *buffer, int buflen);