ocfs2: make resv_lock spinlock static
resv_lock is only used in reservations.c Signed-off-by: Fabian Frederick <fabf@skynet.be> Cc: Mark Fasheh <mfasheh@suse.com> Cc: Joel Becker <jlbec@evilplan.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
9d6008c759
commit
8989b67330
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user