Whamcloud - gitweb
LU-1484 kernel: pass RHEL5 build for 2.6.18-308
authorBobi Jam <bobijam@gmail.com>
Tue, 11 Dec 2012 03:04:22 +0000 (11:04 +0800)
committerOleg Drokin <green@whamcloud.com>
Wed, 19 Dec 2012 16:31:57 +0000 (11:31 -0500)
For vanilla kernel, proc_dir_entry::deleted and ::pde_users co-exists
from 2.6.23 to 2.6.23.17.

For some RHEL5 kernels, it defines co-existings
proc_dir_entry::deleted and proc_dir_entry_aux::pde_users.

Signed-off-by: Bobi Jam <bobijam@gmail.com>
Change-Id: I107e15e6e7d41680c99b324c35ddac0a7c3716e6
Reviewed-on: http://review.whamcloud.com/4794
Tested-by: Hudson
Reviewed-by: Peng Tao <bergwolf@gmail.com>
Reviewed-by: Stephen Champion <schamp@sgi.com>
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
libcfs/include/libcfs/params_tree.h

index 635d6bc..b386413 100644 (file)
@@ -109,10 +109,6 @@ do {                                    \
 
 #ifdef HAVE_PROCFS_DELETED
 
-#ifdef HAVE_PROCFS_USERS
-#error proc_dir_entry->deleted is conflicted with proc_dir_entry->pde_users
-#endif
-
 static inline
 int LPROCFS_ENTRY_AND_CHECK(struct proc_dir_entry *dp)
 {