Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1536497

Re: [PATCH] staging: lustre: mgc: make llog_process_lock static

From Oleg Drokin <oleg.drokin@intel.com>
Newsgroups linux.kernel
Subject Re: [PATCH] staging: lustre: mgc: make llog_process_lock static
Date 2016-12-05 23:50 +0100
Message-ID <sLaf7-27k-3@gated-at.bofh.it> (permalink)
References <sKRct-6PC-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Dec 4, 2016, at 9:21 PM, <sandeepjain.linux@gmail.com> <sandeepjain.linux@gmail.com> wrote:

> 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>

Acked-by: Oleg Drokin <oleg.drokin@intel.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 | NextPrevious in thread | Find similar | Unroll thread


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