Browse Source

staging: lustre: make obd_updatemax_lock static

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>
Fabian Frederick 10 years ago
parent
commit
6acbd7523d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/staging/lustre/lustre/obdclass/class_obd.c

+ 1 - 1
drivers/staging/lustre/lustre/obdclass/class_obd.c

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