Whamcloud - gitweb
LU-3652 luref: Fix building 50/7150/2
authorOleg Drokin <oleg.drokin@intel.com>
Sun, 28 Jul 2013 05:11:16 +0000 (01:11 -0400)
committerOleg Drokin <oleg.drokin@intel.com>
Mon, 29 Jul 2013 22:54:18 +0000 (22:54 +0000)
Fix build when building with --enable-lu_ref
enum cfs_alloc_flags is no longer present when building for Linux.

Change-Id: I0f705939de5ee55bfc9b9d99a23d93accf5831db
Signed-off-by: Oleg Drokin <oleg.drokin@intel.com>
Reviewed-on: http://review.whamcloud.com/7150
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Bob Glossman <bob.glossman@intel.com>
Reviewed-by: James Nunez <james.a.nunez@intel.com>
lustre/obdclass/lu_ref.c

index 19a5b35..96a4722 100644 (file)
@@ -155,7 +155,7 @@ void lu_ref_fini(struct lu_ref *ref)
 EXPORT_SYMBOL(lu_ref_fini);
 
 static struct lu_ref_link *lu_ref_add_context(struct lu_ref *ref,
 EXPORT_SYMBOL(lu_ref_fini);
 
 static struct lu_ref_link *lu_ref_add_context(struct lu_ref *ref,
-                                              enum cfs_alloc_flags flags,
+                                              int flags,
                                               const char *scope,
                                               const void *source)
 {
                                               const char *scope,
                                               const void *source)
 {