diff options
author | Brian Behlendorf <[email protected]> | 2012-04-30 12:01:49 -0700 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2012-04-30 12:52:38 -0700 |
commit | b39d3b9f7be925ba9314c336099f31f508e1d940 (patch) | |
tree | 5bc9d2f44becaef2b6e1d6d5114a6bc21f6302e2 /zfs_config.h.in | |
parent | ce90208cf9e04df966429f115d8831371ea9afce (diff) |
Linux 3.3 compat, iops->create()/mkdir()/mknod()
The mode argument of iops->create()/mkdir()/mknod() was changed from
an 'int' to a 'umode_t'. To prevent a compiler warning an autoconf
check was added to detect the API change and then correctly set a
zpl_umode_t typedef. There is no functional change.
Signed-off-by: Brian Behlendorf <[email protected]>
Closes #701
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 d39855122..5e3965be9 100644 --- a/zfs_config.h.in +++ b/zfs_config.h.in @@ -105,6 +105,9 @@ /* super_block uses const struct xattr_hander */ #undef HAVE_CONST_XATTR_HANDLER +/* iops->create()/mkdir()/mknod() take umode_t */ +#undef HAVE_CREATE_UMODE_T + /* xattr_handler->get() wants dentry */ #undef HAVE_DENTRY_XATTR_GET |