zfs/config
Brian Behlendorf 914b063133 Linux compat 2.6.37, invalidate_inodes()
In the 2.6.37 kernel the function invalidate_inodes() is no longer
exported for use by modules.  This memory management functionality
is needed to invalidate the inodes attached to a super block without
unmounting the filesystem.

Because this function still exists in the kernel and the prototype
is available is a common header all we strictly need is the symbol
address.  The address is obtained using spl_kallsyms_lookup_name()
and assigned to the variable invalidate_inodes_fn.  Then a #define
is used to replace all instances of invalidate_inodes() with a
call to the acquired address.  All the complexity is hidden behind
HAVE_INVALIDATE_INODES and invalidate_inodes() can be used as usual.

Long term we should try to get this, or another, interface made
available to modules again.
2011-02-23 12:44:32 -08:00
..
Rules.am Support custom build directories 2010-09-05 21:49:05 -07:00
config.awk Allow spl_config.h to be included by dependant packages (updated) 2010-03-22 14:45:33 -07:00
config.guess Move vendor check to spl-build.m4 2010-09-02 16:12:02 -07:00
config.sub Move vendor check to spl-build.m4 2010-09-02 16:12:02 -07:00
deb.am Add Debian and Slackware style packaging via alien 2010-07-27 15:52:34 -07:00
depcomp Move vendor check to spl-build.m4 2010-09-02 16:12:02 -07:00
install-sh Move vendor check to spl-build.m4 2010-09-02 16:12:02 -07:00
ltmain.sh Refresh autogen.sh products 2010-11-30 10:36:58 -08:00
missing Move vendor check to spl-build.m4 2010-09-02 16:12:02 -07:00
rpm.am Add Debian and Slackware style packaging via alien 2010-07-27 15:52:34 -07:00
spl-build.m4 Linux compat 2.6.37, invalidate_inodes() 2011-02-23 12:44:32 -08:00
spl-meta.m4 Public Release Prep 2010-05-17 15:18:00 -07:00
tgz.am Add Debian and Slackware style packaging via alien 2010-07-27 15:52:34 -07:00