staging: lustre: make obd_updatemax_lock static
authorFabian Frederick <fabf@skynet.be>
Wed, 4 Feb 2015 18:44:34 +0000 (19:44 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 7 Feb 2015 09:39:50 +0000 (17:39 +0800)
obd_updatemax_lock is only used in class_obd.c

Signed-off-by: Fabian Frederick <fabf@skynet.be>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/obdclass/class_obd.c

index 89a3fb2e56b25ed722389d0c5d10baca56b060e8..29456e1ad2250d4e47c6d37a189033a7f3da52c5 100644 (file)
@@ -61,7 +61,7 @@ __u64 obd_alloc;
 EXPORT_SYMBOL(obd_alloc);
 __u64 obd_pages;
 EXPORT_SYMBOL(obd_pages);
-DEFINE_SPINLOCK(obd_updatemax_lock);
+static DEFINE_SPINLOCK(obd_updatemax_lock);
 
 /* The following are visible and mutable through /proc/sys/lustre/. */
 unsigned int obd_alloc_fail_rate = 0;