]> git.proxmox.com Git - mirror_zfs-debian.git/blobdiff - include/sys/zpl.h
Imported Upstream version 0.6.5.8
[mirror_zfs-debian.git] / include / sys / zpl.h
index 54b35e02de74f194e50aabbc0f0e874b9158e71d..c6085481bb32c62a953f023944b92d3f22a9d37b 100644 (file)
@@ -123,7 +123,7 @@ extern const struct inode_operations zpl_ops_snapdirs;
 extern const struct file_operations zpl_fops_shares;
 extern const struct inode_operations zpl_ops_shares;
 
-#ifdef HAVE_VFS_ITERATE
+#if defined(HAVE_VFS_ITERATE) || defined(HAVE_VFS_ITERATE_SHARED)
 
 #define        DIR_CONTEXT_INIT(_dirent, _actor, _pos) {       \
        .actor = _actor,                                \