summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorAl Viro <viro@ZenIV.linux.org.uk>2015-02-02 10:07:59 -0700
committerJens Axboe <axboe@fb.com>2015-02-02 10:07:59 -0700
commit15d0f5ea348b9c4e6d41df294dde38a56a39c7bf (patch)
tree7a34ec11676096b88811843e03464ba7a4de2179 /fs
parent706a4e5a120aa40b31a22a4ad0cdd738d78a91a3 (diff)
downloadop-kernel-dev-15d0f5ea348b9c4e6d41df294dde38a56a39c7bf.zip
op-kernel-dev-15d0f5ea348b9c4e6d41df294dde38a56a39c7bf.tar.gz
Make super_blocks and sb_lock static
The only user outside of fs/super.c is gone now Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Acked-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'fs')
-rw-r--r--fs/super.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/super.c b/fs/super.c
index 3b4dada..05a0216 100644
--- a/fs/super.c
+++ b/fs/super.c
@@ -36,8 +36,8 @@
#include "internal.h"
-LIST_HEAD(super_blocks);
-DEFINE_SPINLOCK(sb_lock);
+static LIST_HEAD(super_blocks);
+static DEFINE_SPINLOCK(sb_lock);
static char *sb_writers_name[SB_FREEZE_LEVELS] = {
"sb_writers",
OpenPOWER on IntegriCloud