Skip to content

Commit 18d8fda

Browse files
author
Al Viro
committed
take init_fs to saner place
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
1 parent cb23beb commit 18d8fda

24 files changed

Lines changed: 8 additions & 27 deletions

File tree

‎arch/alpha/kernel/init_task.c‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
#include <asm/uaccess.h>
99

1010

11-
static struct fs_struct init_fs = INIT_FS;
1211
static struct signal_struct init_signals = INIT_SIGNALS(init_signals);
1312
static struct sighand_struct init_sighand = INIT_SIGHAND(init_sighand);
1413
struct mm_struct init_mm = INIT_MM(init_mm);

‎arch/arm/kernel/init_task.c‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212

1313
#include <asm/pgtable.h>
1414

15-
static struct fs_struct init_fs = INIT_FS;
1615
static struct signal_struct init_signals = INIT_SIGNALS(init_signals);
1716
static struct sighand_struct init_sighand = INIT_SIGHAND(init_sighand);
1817
struct mm_struct init_mm = INIT_MM(init_mm);

‎arch/avr32/kernel/init_task.c‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313

1414
#include <asm/pgtable.h>
1515

16-
static struct fs_struct init_fs = INIT_FS;
1716
static struct signal_struct init_signals = INIT_SIGNALS(init_signals);
1817
static struct sighand_struct init_sighand = INIT_SIGHAND(init_sighand);
1918
struct mm_struct init_mm = INIT_MM(init_mm);

‎arch/blackfin/kernel/init_task.c‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@
3333
#include <linux/mqueue.h>
3434
#include <linux/fs.h>
3535

36-
static struct fs_struct init_fs = INIT_FS;
3736
static struct signal_struct init_signals = INIT_SIGNALS(init_signals);
3837
static struct sighand_struct init_sighand = INIT_SIGHAND(init_sighand);
3938

‎arch/cris/kernel/process.c‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@
3737
* setup.
3838
*/
3939

40-
static struct fs_struct init_fs = INIT_FS;
4140
static struct signal_struct init_signals = INIT_SIGNALS(init_signals);
4241
static struct sighand_struct init_sighand = INIT_SIGHAND(init_sighand);
4342
struct mm_struct init_mm = INIT_MM(init_mm);

‎arch/frv/kernel/init_task.c‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
#include <asm/pgtable.h>
1111

1212

13-
static struct fs_struct init_fs = INIT_FS;
1413
static struct signal_struct init_signals = INIT_SIGNALS(init_signals);
1514
static struct sighand_struct init_sighand = INIT_SIGHAND(init_sighand);
1615
struct mm_struct init_mm = INIT_MM(init_mm);

‎arch/h8300/kernel/init_task.c‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
#include <asm/uaccess.h>
1313
#include <asm/pgtable.h>
1414

15-
static struct fs_struct init_fs = INIT_FS;
1615
static struct signal_struct init_signals = INIT_SIGNALS(init_signals);
1716
static struct sighand_struct init_sighand = INIT_SIGHAND(init_sighand);
1817
struct mm_struct init_mm = INIT_MM(init_mm);

‎arch/ia64/kernel/init_task.c‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
#include <asm/uaccess.h>
1818
#include <asm/pgtable.h>
1919

20-
static struct fs_struct init_fs = INIT_FS;
2120
static struct signal_struct init_signals = INIT_SIGNALS(init_signals);
2221
static struct sighand_struct init_sighand = INIT_SIGHAND(init_sighand);
2322
struct mm_struct init_mm = INIT_MM(init_mm);

‎arch/m32r/kernel/init_task.c‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
#include <asm/uaccess.h>
1212
#include <asm/pgtable.h>
1313

14-
static struct fs_struct init_fs = INIT_FS;
1514
static struct signal_struct init_signals = INIT_SIGNALS(init_signals);
1615
static struct sighand_struct init_sighand = INIT_SIGHAND(init_sighand);
1716
struct mm_struct init_mm = INIT_MM(init_mm);

‎arch/m68k/kernel/process.c‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@
4040
* alignment requirements and potentially different initial
4141
* setup.
4242
*/
43-
static struct fs_struct init_fs = INIT_FS;
4443
static struct signal_struct init_signals = INIT_SIGNALS(init_signals);
4544
static struct sighand_struct init_sighand = INIT_SIGHAND(init_sighand);
4645
struct mm_struct init_mm = INIT_MM(init_mm);

0 commit comments

Comments
 (0)