Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1535756
| From | sandeepjain.linux@gmail.com |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH] staging: lustre: mgc: make llog_process_lock static |
| Date | 2016-12-05 03:30 +0100 |
| Message-ID | <sKRct-6PC-3@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
From: Sandeep Jain <sandeepjain.linux@gmail.com> Fix following sparse warning. mgc_request.c:376:1: warning: symbol 'llog_process_lock' was not declared. Should it be static? Signed-off-by: Sandeep Jain <sandeepjain.linux@gmail.com> --- drivers/staging/lustre/lustre/mgc/mgc_request.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/lustre/lustre/mgc/mgc_request.c b/drivers/staging/lustre/lustre/mgc/mgc_request.c index 23600fb..e98a2ce 100644 --- a/drivers/staging/lustre/lustre/mgc/mgc_request.c +++ b/drivers/staging/lustre/lustre/mgc/mgc_request.c @@ -373,7 +373,7 @@ static int config_log_add(struct obd_device *obd, char *logname, return rc; } -DEFINE_MUTEX(llog_process_lock); +static DEFINE_MUTEX(llog_process_lock); /** Stop watching for updates on this log. */ -- 2.7.4
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
[PATCH] staging: lustre: mgc: make llog_process_lock static sandeepjain.linux@gmail.com - 2016-12-05 03:30 +0100 Re: [PATCH] staging: lustre: mgc: make llog_process_lock static Oleg Drokin <oleg.drokin@intel.com> - 2016-12-05 23:50 +0100
csiph-web