diff options
author | Fabian Frederick <fabf@skynet.be> | 2015-02-04 13:44:34 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-02-07 04:39:50 -0500 |
commit | 6acbd7523d93946844b79c3fe684491b0b06de6e (patch) | |
tree | c8a0bf51248ee1f7475babef1d70f404687c5d37 | |
parent | e971e8de383f91c418c924afd349766f33b20501 (diff) |
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>
-rw-r--r-- | drivers/staging/lustre/lustre/obdclass/class_obd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/lustre/lustre/obdclass/class_obd.c b/drivers/staging/lustre/lustre/obdclass/class_obd.c index 89a3fb2e56b2..29456e1ad225 100644 --- a/drivers/staging/lustre/lustre/obdclass/class_obd.c +++ b/drivers/staging/lustre/lustre/obdclass/class_obd.c | |||
@@ -61,7 +61,7 @@ __u64 obd_alloc; | |||
61 | EXPORT_SYMBOL(obd_alloc); | 61 | EXPORT_SYMBOL(obd_alloc); |
62 | __u64 obd_pages; | 62 | __u64 obd_pages; |
63 | EXPORT_SYMBOL(obd_pages); | 63 | EXPORT_SYMBOL(obd_pages); |
64 | DEFINE_SPINLOCK(obd_updatemax_lock); | 64 | static DEFINE_SPINLOCK(obd_updatemax_lock); |
65 | 65 | ||
66 | /* The following are visible and mutable through /proc/sys/lustre/. */ | 66 | /* The following are visible and mutable through /proc/sys/lustre/. */ |
67 | unsigned int obd_alloc_fail_rate = 0; | 67 | unsigned int obd_alloc_fail_rate = 0; |