diff options
author | Brian Behlendorf <[email protected]> | 2012-02-02 11:55:48 -0800 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2012-02-03 10:02:01 -0800 |
commit | 47621f3d76abf63e178b95a446134565cc553b1a (patch) | |
tree | 327a3b8be057b8272ede19352e5f344dca5b52cf /config/kernel.m4 | |
parent | d7e398ce1a3e6f9c705af43955a684685a798c32 (diff) |
Linux 3.3 compat, sops->show_options()
The second argument of sops->show_options() was changed from a
'struct vfsmount *' to a 'struct dentry *'. Add an autoconf check
to detect the API change and then conditionally define the expected
interface. In either case we are only interested in the zfs_sb_t.
Signed-off-by: Brian Behlendorf <[email protected]>
Closes #549
Diffstat (limited to 'config/kernel.m4')
-rw-r--r-- | config/kernel.m4 | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/config/kernel.m4 b/config/kernel.m4 index b986fe41b..10a2cdbcf 100644 --- a/config/kernel.m4 +++ b/config/kernel.m4 @@ -32,6 +32,7 @@ AC_DEFUN([ZFS_AC_CONFIG_KERNEL], [ ZFS_AC_KERNEL_CONST_XATTR_HANDLER ZFS_AC_KERNEL_XATTR_HANDLER_GET ZFS_AC_KERNEL_XATTR_HANDLER_SET + ZFS_AC_KERNEL_SHOW_OPTIONS ZFS_AC_KERNEL_FSYNC ZFS_AC_KERNEL_EVICT_INODE ZFS_AC_KERNEL_NR_CACHED_OBJECTS |