staging: lustre: mgc: make llog_process_lock static
authorSandeep Jain <sandeepjain.linux@gmail.com>
Mon, 5 Dec 2016 02:21:21 +0000 (07:51 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 6 Dec 2016 09:41:03 +0000 (10:41 +0100)
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/mgc/mgc_request.c

index 6894d4c1e5cc1186ee82e2632893984a41465974..b9c522a3c7a4b48ddd3890eacc56a51372233534 100644 (file)
@@ -375,7 +375,7 @@ out_err:
        return rc;
 }
 
-DEFINE_MUTEX(llog_process_lock);
+static DEFINE_MUTEX(llog_process_lock);
 
 /** Stop watching for updates on this log.
  */