diff --git a/src/afs/LINUX/osi_compat.h b/src/afs/LINUX/osi_compat.h index 322d88f159..0314a22d94 100644 --- a/src/afs/LINUX/osi_compat.h +++ b/src/afs/LINUX/osi_compat.h @@ -27,6 +27,10 @@ # endif #endif +#if defined(STRUCT_DENTRY_OPERATIONS_HAS_D_AUTOMOUNT) && !defined(DCACHE_NEED_AUTOMOUNT) +# define DCACHE_NEED_AUTOMOUNT DMANAGED_AUTOMOUNT +#endif + #ifdef HAVE_LINUX_STRUCT_VFS_PATH typedef struct vfs_path afs_linux_path_t; #else