Skip to contentSkip to conversation

ocfs2: make resv_lock spinlock static

PATCH New Fabian Frederick 1 participant 1 message Feb 4, 2015 OCFS2

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ocfs2: make resv_lock spinlock static

resv_lock is only used in reservations.c

---
 fs/ocfs2/reservations.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
fs/ocfs2/reservations.c +1 -1
index 41ffd36..6a348b0 100644
@@ -39,7 +39,7 @@
 #define OCFS2_CHECK_RESERVATIONS
 #endif
 
-DEFINE_SPINLOCK(resv_lock);
+static DEFINE_SPINLOCK(resv_lock);
 
 #define	OCFS2_MIN_RESV_WINDOW_BITS	8
 #define	OCFS2_MAX_RESV_WINDOW_BITS	1024
Signature · 1 line
1.9.3