staging: lustre: mgc: make llog_process_lock static
PATCH 1/1 staging: lustre: mgc: make llog_process_lock static
From: Sandeep Jain <[email protected]>
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 <[email protected]>
--- drivers/staging/lustre/lustre/mgc/mgc_request.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/lustre/lustre/mgc/mgc_request.c +1 -1
@@ -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. */
Signature · 1 line
2.7.4
Quoted 7 lines · On Dec 4, 2016, at 9:21 PM, <[email protected]>…
From: Sandeep Jain <[email protected]>
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 <[email protected]>
Acked-by Oleg Drokin <[email protected]>
Quoted 19 lines
---
drivers/staging/lustre/lustre/mgc/mgc_request.c| 2 +-1 file changed, 1 insertion(+), 1 deletion(-)drivers/staging/lustre/lustre/mgc/mgc_request.c +1
-1@@ -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. */ Signature · 1 line
2.7.4