projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9d6008c
)
ocfs2: make resv_lock spinlock static
author
Fabian Frederick
<fabf@skynet.be>
Tue, 10 Feb 2015 22:09:20 +0000
(14:09 -0800)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Tue, 10 Feb 2015 22:30:29 +0000
(14:30 -0800)
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>
fs/ocfs2/reservations.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/ocfs2/reservations.c
b/fs/ocfs2/reservations.c
index 41ffd36c689c23ff15bccb8d0b1a7e15526d999b..6a348b0294abfd198b6d462a432d5df965d16127 100644
(file)
--- 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