From: Brian Behlendorf Date: Fri, 5 Aug 2011 23:55:04 +0000 (-0700) Subject: Improve HAVE_EVICT_INODE check X-Git-Url: https://git.camperquake.de/gitweb.cgi?a=commitdiff_plain;h=ddd052aa8311f846e3d3f7a9ddf1a21d317fb04a;hp=ddd052aa8311f846e3d3f7a9ddf1a21d317fb04a;p=zfs.git Improve HAVE_EVICT_INODE check The hardened gentoo kernel defines all of the super block operation callbacks as const. This prevents the autoconf test from assigning the callback and results in a false negative. By moving the assignment in to the declaration we can avoid this issue and get a correct result for this patched kernel. Signed-off-by: Brian Behlendorf Closes #296 ---