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]>

diff --git a/kernel/anon_inodes.c b/kernel/anon_inodes.c
index 7155b4d..8512118 100644
--- a/kernel/anon_inodes.c
+++ b/kernel/anon_inodes.c
@@ -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;
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to