From 643e0ae0dc4a6dc2727ed3031f1c5ad8dbc7df0c Mon Sep 17 00:00:00 2001 From: Oleg Drokin Date: Sun, 28 Jul 2013 01:11:16 -0400 Subject: [PATCH] LU-3652 luref: Fix building 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 Reviewed-on: http://review.whamcloud.com/7150 Tested-by: Hudson Tested-by: Maloo Reviewed-by: Bob Glossman Reviewed-by: James Nunez --- lustre/obdclass/lu_ref.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lustre/obdclass/lu_ref.c b/lustre/obdclass/lu_ref.c index 19a5b35..96a4722 100644 --- a/lustre/obdclass/lu_ref.c +++ b/lustre/obdclass/lu_ref.c @@ -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, - enum cfs_alloc_flags flags, + int flags, const char *scope, const void *source) { -- 1.8.3.1