Re: [PATCH 0/2] module_refcounting and anonymous inodes

From: Avi Kivity
Date: Tue Dec 09 2008 - 08:22:59 EST


Avi Kivity wrote:
Christian Borntraeger wrote:
The problem is, how do you detect if the base kernel has patch1 applied?

In the external module compatibility kit, implement two versions of anon_inode_getfd(), and select the appropriate one according to kernel version (like we currently support 91 smp_call_function_single variants).


I committed something simpler: if running on 2.6.28 or earlier, I hack out the two lines your second patch adds.\

--
error compiling committee.c: too many arguments to function

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/