Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0e064a3
)
fix incorrect detecting readv/writev.
author
shadow
<shadow>
Tue, 9 Dec 2008 07:00:22 +0000
(07:00 +0000)
committer
shadow
<shadow>
Tue, 9 Dec 2008 07:00:22 +0000
(07:00 +0000)
Branch HEAD
b=17918
i=green
lustre/autoconf/lustre-core.m4
patch
|
blob
|
history
diff --git
a/lustre/autoconf/lustre-core.m4
b/lustre/autoconf/lustre-core.m4
index
08a573f
..
657dbef
100644
(file)
--- a/
lustre/autoconf/lustre-core.m4
+++ b/
lustre/autoconf/lustre-core.m4
@@
-1117,7
+1117,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)
@@
-1135,7
+1135,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)