From: Fabian Frederick Date: Tue, 10 Feb 2015 22:09:20 +0000 (-0800) Subject: ocfs2: make resv_lock spinlock static X-Git-Tag: v4.0~339^2~54 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8989b6733027e6d28d77662113704adb434d0eae;p=platform%2Fkernel%2Flinux-amlogic.git ocfs2: make resv_lock spinlock static resv_lock is only used in reservations.c Signed-off-by: Fabian Frederick Cc: Mark Fasheh Cc: Joel Becker Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/fs/ocfs2/reservations.c b/fs/ocfs2/reservations.c index 41ffd36..6a348b0 100644 --- a/fs/ocfs2/reservations.c +++ b/fs/ocfs2/reservations.c @@ -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