From d02adea7e541a5bb092d1be8cff0a9b750ef1031 Mon Sep 17 00:00:00 2001 From: Frank Zago Date: Mon, 18 Aug 2014 08:48:17 -0700 Subject: [PATCH] LU-5252 hsm: llapi_hsm_event_fd is local, so make it static. This is a backport to b2_5. Lustre-change: http://review.whamcloud.com/10808 Lustre-commit: 9feb80c65b077204f7091e90f314098266fb7e82 Change-Id: I9905d0251702a11a9c2546ba4bd78fd00658d28a Signed-off-by: Frank Zago Signed-off-by: James Nunez Signed-off-by: Jian Yu Reviewed-on: http://review.whamcloud.com/11362 Reviewed-by: John L. Hammond Tested-by: Jenkins Tested-by: Maloo Reviewed-by: Oleg Drokin --- lustre/utils/liblustreapi_hsm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lustre/utils/liblustreapi_hsm.c b/lustre/utils/liblustreapi_hsm.c index d815dbe..cf51fb0 100644 --- a/lustre/utils/liblustreapi_hsm.c +++ b/lustre/utils/liblustreapi_hsm.c @@ -114,7 +114,7 @@ enum ct_event { }; /* initialized in llapi_hsm_register_event_fifo() */ -int llapi_hsm_event_fd = -1; +static int llapi_hsm_event_fd = -1; static bool created_hsm_event_fifo; static inline const char *llapi_hsm_ct_ev2str(int type) -- 1.8.3.1