Fix external module build for 2.6.22
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.
Signed-off-by Jan Kiszka <[email protected]>
kernel/anon_inodes.c +1 -1
@@ -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;
Avi Kivity
AppliedQuoted 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.