mirror of
https://git.openafs.org/openafs.git
synced 2025-01-19 15:30:14 +00:00
LINUX: make d_automount work properly on rhel5 kernels
Recent centos/rhel 5 kernels (2.6.18-308.*) started providing the d_automount operation, but renamed the DCACHE_NEED_AUTOMOUNT flag to DMANAGED_AUTOMOUNT. Change-Id: I74811f8967d52ce482316b110e9dd616a4869a7f Reviewed-on: http://gerrit.openafs.org/8006 Tested-by: BuildBot <buildbot@rampaginggeek.com> Reviewed-by: Marc Dionne <marc.c.dionne@gmail.com> Reviewed-by: Derrick Brashear <shadow@dementix.org>
This commit is contained in:
parent
74c1881dff
commit
5daa08ea26
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user