How do you apply these patches to kernel source code
Hello,
How do you apply these patches [1] to kernel source code ?. So far I have applied this patch [2] to the kernel source code.
Do I save each as a txt .patch file and apply with command
# patch < patch.file
I using linux-3.14.tar.xz
--Thanks Glenn
[1]
[PATCHv3 1/5] reiser4: discard support: make space_allocator's check_blocks()
.
.
[PATCHv3 5/5] reiser4: discard support: downgrade all reiser4_log() to reiser4_debug().
http://www.spinics.net/lists/reiserfs-devel/msg03886.html
[2]
reiser4-for-3.14.1.patch
Quoted 21 lines · On Monday 12 May 2014 at 20:52:27, [email protected] wrote:
Hello,
How do you apply these patches [1] to kernel source code ?. So far I have applied this patch [2] to the kernel source code.Do I save each as a txt .patch file and apply with command
# patch < patch.fileI using linux-3.14.tar.xz
--Thanks Glenn[1]
[PATCHv3 1/5] reiser4: discard support: make space_allocator'scheck_blocks()
.
.
[PATCHv3 5/5] reiser4: discard support: downgrade allreiser4_log()toreiser4_debug().
Quoted 7 lines
[2]
reiser4-for-3.14.1.patch--
To unsubscribe from this list: send the line "unsubscribe reiserfs-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
These git-formatted patches (1) are saved to text files "as is" (as in mailbox) and then applied usingpatch -p1 -i $patch
orpatch -p1 < $patch
on top of a source tree with reiser4 (2) itself already applied.
Actually, if you have a git tree, you can also docat $all_patches | git am
on top of that tree. This will keep commit metadata, applying each patch as a separate commit.
Thanks,
Signature · 1 line
Ivan Shapovalov / intelfx /