We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 706a4e5 commit 15d0f5eCopy full SHA for 15d0f5e
fs/super.c
@@ -36,8 +36,8 @@
36
#include "internal.h"
37
38
39
-LIST_HEAD(super_blocks);
40
-DEFINE_SPINLOCK(sb_lock);
+static LIST_HEAD(super_blocks);
+static DEFINE_SPINLOCK(sb_lock);
41
42
static char *sb_writers_name[SB_FREEZE_LEVELS] = {
43
"sb_writers",
include/linux/fs.h
@@ -1183,8 +1183,6 @@ struct mm_struct;
1183
#define UMOUNT_NOFOLLOW 0x00000008 /* Don't follow symlink on umount */
1184
#define UMOUNT_UNUSED 0x80000000 /* Flag guaranteed to be unused */
1185
1186
-extern struct list_head super_blocks;
1187
-extern spinlock_t sb_lock;
1188
1189
/* Possible states of 'frozen' field */
1190
enum {
0 commit comments