Commit 15d0f5ea authored by Al Viro's avatar Al Viro Committed by Jens Axboe

Make super_blocks and sb_lock static

The only user outside of fs/super.c is gone now
Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
Acked-by: default avatarChristoph Hellwig <hch@lst.de>
Signed-off-by: default avatarJens Axboe <axboe@fb.com>
parent 706a4e5a
...@@ -36,8 +36,8 @@ ...@@ -36,8 +36,8 @@
#include "internal.h" #include "internal.h"
LIST_HEAD(super_blocks); static LIST_HEAD(super_blocks);
DEFINE_SPINLOCK(sb_lock); static DEFINE_SPINLOCK(sb_lock);
static char *sb_writers_name[SB_FREEZE_LEVELS] = { static char *sb_writers_name[SB_FREEZE_LEVELS] = {
"sb_writers", "sb_writers",
......
...@@ -1183,8 +1183,6 @@ struct mm_struct; ...@@ -1183,8 +1183,6 @@ struct mm_struct;
#define UMOUNT_NOFOLLOW 0x00000008 /* Don't follow symlink on umount */ #define UMOUNT_NOFOLLOW 0x00000008 /* Don't follow symlink on umount */
#define UMOUNT_UNUSED 0x80000000 /* Flag guaranteed to be unused */ #define UMOUNT_UNUSED 0x80000000 /* Flag guaranteed to be unused */
extern struct list_head super_blocks;
extern spinlock_t sb_lock;
/* Possible states of 'frozen' field */ /* Possible states of 'frozen' field */
enum { enum {
......
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