From 150f87c96fde7e5ec3a1a4d55879588c5c600764 Mon Sep 17 00:00:00 2001 From: shadow <shadow> Date: Tue, 9 Dec 2008 07:15:29 +0000 Subject: [PATCH] fix incorrect detecting readv/writev. Branch b1_6 b=17918 i=green --- lustre/autoconf/lustre-core.m4 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lustre/autoconf/lustre-core.m4 b/lustre/autoconf/lustre-core.m4 index 1e40dfc9b5..a05fd1a18b 100644 --- a/lustre/autoconf/lustre-core.m4 +++ b/lustre/autoconf/lustre-core.m4 @@ -993,7 +993,7 @@ AC_DEFUN([LC_FILE_WRITEV], LB_LINUX_TRY_COMPILE([ #include <linux/fs.h> ],[ - struct file_operations *fops; + struct file_operations *fops = NULL; fops->writev = NULL; ],[ AC_MSG_RESULT(yes) @@ -1011,7 +1011,7 @@ AC_DEFUN([LC_FILE_READV], LB_LINUX_TRY_COMPILE([ #include <linux/fs.h> ],[ - struct file_operations *fops; + struct file_operations *fops = NULL; fops->readv = NULL; ],[ AC_MSG_RESULT(yes) -- GitLab