mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-11-17 10:01:01 +03:00
fd23663000
There's a missing semicolon and equals sign in the first hunk of this commit in config/kernel-bdi.m4. This results in the test always failing. The effects were noticed when rrdtool, a tool which modifies files by mmap() and msync(), would have data never get saved to disk in spite of the files working while the mounted filesystem remains mounted. Signed-off-by: DHE <git@dehacked.net> Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Richard Yao <ryao@gentoo.org> Closes #1889
22 lines
438 B
Plaintext
22 lines
438 B
Plaintext
dnl #
|
|
dnl # 2.6.32 API change
|
|
dnl # Private backing_device_info interfaces available
|
|
dnl #
|
|
AC_DEFUN([ZFS_AC_KERNEL_BDI], [
|
|
AC_MSG_CHECKING([whether super_block has s_bdi])
|
|
ZFS_LINUX_TRY_COMPILE([
|
|
#include <linux/fs.h>
|
|
|
|
static const struct super_block
|
|
sb __attribute__ ((unused)) = {
|
|
.s_bdi = NULL,
|
|
};
|
|
],[
|
|
],[
|
|
AC_MSG_RESULT(yes)
|
|
AC_DEFINE(HAVE_BDI, 1, [struct super_block has s_bdi])
|
|
],[
|
|
AC_MSG_RESULT(no)
|
|
])
|
|
])
|