Skip to content

Commit 8989b67

Browse files
Fabian Fredericktorvalds
authored andcommitted
ocfs2: make resv_lock spinlock static
resv_lock is only used in reservations.c Signed-off-by: Fabian Frederick <[email protected]> Cc: Mark Fasheh <[email protected]> Cc: Joel Becker <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
1 parent 9d6008c commit 8989b67

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fs/ocfs2/reservations.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
#define OCFS2_CHECK_RESERVATIONS
4040
#endif
4141

42-
DEFINE_SPINLOCK(resv_lock);
42+
static DEFINE_SPINLOCK(resv_lock);
4343

4444
#define OCFS2_MIN_RESV_WINDOW_BITS 8
4545
#define OCFS2_MAX_RESV_WINDOW_BITS 1024

0 commit comments

Comments
 (0)