ocfs2: make resv_lock spinlock static
PATCH 1/1 ocfs2: make resv_lock spinlock static
resv_lock is only used in reservations.c
Signed-off-by Fabian Frederick <[email protected]>
--- fs/ocfs2/reservations.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
fs/ocfs2/reservations.c +1 -1
@@ -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