From 5c4fb112bd81114574d2fd9e9274d3237573cabc Mon Sep 17 00:00:00 2001 From: adilger Date: Tue, 20 Sep 2005 23:55:30 +0000 Subject: [PATCH] Branch b1_4 Add definition for pgoff_t, which isn't defined for 2.4 kernels. b=6252 --- lustre/include/linux/lustre_compat25.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lustre/include/linux/lustre_compat25.h b/lustre/include/linux/lustre_compat25.h index f7b626c..bb01446 100644 --- a/lustre/include/linux/lustre_compat25.h +++ b/lustre/include/linux/lustre_compat25.h @@ -148,6 +148,10 @@ static inline int cleanup_group_info(void) #include #endif +#ifndef pgoff_t +#define pgoff_t unsigned long +#endif + #define ll_vfs_create(a,b,c,d) vfs_create(a,b,c) #define ll_permission(inode,mask,nd) permission(inode,mask) #define ILOOKUP(sb, ino, test, data) ilookup4(sb, ino, test, data); -- 1.8.3.1