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 /zfs_config.h.in | |
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 'zfs_config.h.in')
-rw-r--r-- | zfs_config.h.in | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/zfs_config.h.in b/zfs_config.h.in index 4eee8929f..f64a30242 100644 --- a/zfs_config.h.in +++ b/zfs_config.h.in @@ -165,6 +165,9 @@ /* set_nlink() is available */ #undef HAVE_SET_NLINK +/* sops->show_options() with dentry */ +#undef HAVE_SHOW_OPTIONS_WITH_DENTRY + /* struct super_block has s_shrink */ #undef HAVE_SHRINK |