git://git.camperquake.de
/
zfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Improve CONFIG_DEBUG_LOCK_ALLOC error message
[zfs.git]
/
config
/
kernel-bio-rw-syncio.m4
diff --git
a/config/kernel-bio-rw-syncio.m4
b/config/kernel-bio-rw-syncio.m4
index
6f8b5b5
..
4bff80a
100644
(file)
--- a/
config/kernel-bio-rw-syncio.m4
+++ b/
config/kernel-bio-rw-syncio.m4
@@
-9,7
+9,7
@@
AC_DEFUN([ZFS_AC_KERNEL_BIO_RW_SYNC], [
ZFS_LINUX_TRY_COMPILE([
#include <linux/bio.h>
],[
ZFS_LINUX_TRY_COMPILE([
#include <linux/bio.h>
],[
- int flags;
+ int flags
__attribute__ ((unused))
;
flags = BIO_RW_SYNC;
],[
AC_MSG_RESULT(yes)
flags = BIO_RW_SYNC;
],[
AC_MSG_RESULT(yes)
@@
-24,7
+24,7
@@
AC_DEFUN([ZFS_AC_KERNEL_BIO_RW_SYNCIO], [
ZFS_LINUX_TRY_COMPILE([
#include <linux/bio.h>
],[
ZFS_LINUX_TRY_COMPILE([
#include <linux/bio.h>
],[
- int flags;
+ int flags
__attribute__ ((unused))
;
flags = BIO_RW_SYNCIO;
],[
AC_MSG_RESULT(yes)
flags = BIO_RW_SYNCIO;
],[
AC_MSG_RESULT(yes)
@@
-39,7
+39,7
@@
AC_DEFUN([ZFS_AC_KERNEL_REQ_SYNC], [
ZFS_LINUX_TRY_COMPILE([
#include <linux/bio.h>
],[
ZFS_LINUX_TRY_COMPILE([
#include <linux/bio.h>
],[
- int flags;
+ int flags
__attribute__ ((unused))
;
flags = REQ_SYNC;
],[
AC_MSG_RESULT(yes)
flags = REQ_SYNC;
],[
AC_MSG_RESULT(yes)