git://git.openafs.org
/
openafs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
LINUX: Debian/Ubuntu build regression on kernel 3.16.39
[openafs.git]
/
src
/
afs
/
LINUX
/
osi_compat.h
diff --git
a/src/afs/LINUX/osi_compat.h
b/src/afs/LINUX/osi_compat.h
index
d591626
..
14762fa
100644
(file)
--- a/
src/afs/LINUX/osi_compat.h
+++ b/
src/afs/LINUX/osi_compat.h
@@
-47,6
+47,10
@@
typedef struct path afs_linux_path_t;
# endif
#endif
+#ifndef HAVE_LINUX_FILE_DENTRY
+#define file_dentry(file) ((file)->f_dentry)
+#endif
+
#if defined(HAVE_LINUX_LOCKS_LOCK_FILE_WAIT)
# define flock_lock_file_wait locks_lock_file_wait
#endif