If the "tmp" struct in the test is uninitialized, the test
will fail for that reason, rather its intended functions.
Change-Id: I4b1e97e511c748155f742909d9424f228fc24545
Signed-off-by: Christopher J. Morrone <morrone2@llnl.gov>
Reviewed-on: http://review.whamcloud.com/522
Tested-by: Hudson
Reviewed-by: Bobi Jam <bobijam@whamcloud.com>
Tested-by: Bobi Jam <bobijam@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
LB_LINUX_TRY_COMPILE([
#include <linux/mm.h>
],[
LB_LINUX_TRY_COMPILE([
#include <linux/mm.h>
],[
+ struct shrinker tmp = {0};
tmp.shrink(NULL, 0, 0);
],[
AC_MSG_RESULT(yes)
tmp.shrink(NULL, 0, 0);
],[
AC_MSG_RESULT(yes)