Commit 8989b673 authored by Fabian Frederick's avatar Fabian Frederick Committed by Linus Torvalds

ocfs2: make resv_lock spinlock static

resv_lock is only used in reservations.c
Signed-off-by: default avatarFabian Frederick <fabf@skynet.be>
Cc: Mark Fasheh <mfasheh@suse.com>
Cc: Joel Becker <jlbec@evilplan.org>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 9d6008c7
...@@ -39,7 +39,7 @@ ...@@ -39,7 +39,7 @@
#define OCFS2_CHECK_RESERVATIONS #define OCFS2_CHECK_RESERVATIONS
#endif #endif
DEFINE_SPINLOCK(resv_lock); static DEFINE_SPINLOCK(resv_lock);
#define OCFS2_MIN_RESV_WINDOW_BITS 8 #define OCFS2_MIN_RESV_WINDOW_BITS 8
#define OCFS2_MAX_RESV_WINDOW_BITS 1024 #define OCFS2_MAX_RESV_WINDOW_BITS 1024
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment