Skip to contentSkip to conversation

Fix external module build for 2.6.22

PATCH Applied Jan Kiszka 2 participants 2 messages Jul 18, 2008 – Jul 19, 2008 KVM

lore
Share & tools
lore

Jan Kiszka

author
#0 lore raw

PATCH 1/1 Fix external module build for 2.6.22

2.6.22 came with anon_inode_getfd, but it didn't export it. Since 2.6.23 it is usable for modules, too.

kernel/anon_inodes.c +1 -1
index 7155b4d..8512118 100644
@@ -21,7 +21,7 @@
 
 #include <asm/uaccess.h>
 
-#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,22)
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,23)
 
 static struct vfsmount *anon_inode_mnt __read_mostly;
 static struct inode *anon_inode_inode;
Applied
#1 lore raw
Quoted 4 lines · Jan Kiszka

2.6.22 came with anon_inode_getfd, but it didn't export it. Since 2.6.23 it is usable for modules, too.

Applied, thanks.

Signature · 2 lines
I have a truly marvellous patch that fixes the bug which this
signature is too narrow to contain.