Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
18d8fda7
Commit
18d8fda7
authored
Dec 26, 2008
by
Al Viro
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
take init_fs to saner place
Signed-off-by:
Al Viro
<
viro@zeniv.linux.org.uk
>
parent
cb23beb5
Changes
24
Hide whitespace changes
Inline
Side-by-side
Showing
24 changed files
with
8 additions
and
27 deletions
+8
-27
arch/alpha/kernel/init_task.c
arch/alpha/kernel/init_task.c
+0
-1
arch/arm/kernel/init_task.c
arch/arm/kernel/init_task.c
+0
-1
arch/avr32/kernel/init_task.c
arch/avr32/kernel/init_task.c
+0
-1
arch/blackfin/kernel/init_task.c
arch/blackfin/kernel/init_task.c
+0
-1
arch/cris/kernel/process.c
arch/cris/kernel/process.c
+0
-1
arch/frv/kernel/init_task.c
arch/frv/kernel/init_task.c
+0
-1
arch/h8300/kernel/init_task.c
arch/h8300/kernel/init_task.c
+0
-1
arch/ia64/kernel/init_task.c
arch/ia64/kernel/init_task.c
+0
-1
arch/m32r/kernel/init_task.c
arch/m32r/kernel/init_task.c
+0
-1
arch/m68k/kernel/process.c
arch/m68k/kernel/process.c
+0
-1
arch/m68knommu/kernel/init_task.c
arch/m68knommu/kernel/init_task.c
+0
-1
arch/mips/kernel/init_task.c
arch/mips/kernel/init_task.c
+0
-1
arch/mn10300/kernel/init_task.c
arch/mn10300/kernel/init_task.c
+0
-1
arch/parisc/kernel/init_task.c
arch/parisc/kernel/init_task.c
+0
-1
arch/powerpc/kernel/init_task.c
arch/powerpc/kernel/init_task.c
+0
-1
arch/s390/kernel/init_task.c
arch/s390/kernel/init_task.c
+0
-1
arch/sh/kernel/init_task.c
arch/sh/kernel/init_task.c
+0
-1
arch/sparc/kernel/init_task.c
arch/sparc/kernel/init_task.c
+0
-1
arch/um/kernel/init_task.c
arch/um/kernel/init_task.c
+0
-1
arch/x86/kernel/init_task.c
arch/x86/kernel/init_task.c
+0
-1
arch/xtensa/kernel/init_task.c
arch/xtensa/kernel/init_task.c
+0
-1
fs/namei.c
fs/namei.c
+7
-0
include/linux/fs_struct.h
include/linux/fs_struct.h
+0
-6
include/linux/init_task.h
include/linux/init_task.h
+1
-0
No files found.
arch/alpha/kernel/init_task.c
View file @
18d8fda7
...
...
@@ -8,7 +8,6 @@
#include <asm/uaccess.h>
static
struct
fs_struct
init_fs
=
INIT_FS
;
static
struct
signal_struct
init_signals
=
INIT_SIGNALS
(
init_signals
);
static
struct
sighand_struct
init_sighand
=
INIT_SIGHAND
(
init_sighand
);
struct
mm_struct
init_mm
=
INIT_MM
(
init_mm
);
...
...
arch/arm/kernel/init_task.c
View file @
18d8fda7
...
...
@@ -12,7 +12,6 @@
#include <asm/pgtable.h>
static
struct
fs_struct
init_fs
=
INIT_FS
;
static
struct
signal_struct
init_signals
=
INIT_SIGNALS
(
init_signals
);
static
struct
sighand_struct
init_sighand
=
INIT_SIGHAND
(
init_sighand
);
struct
mm_struct
init_mm
=
INIT_MM
(
init_mm
);
...
...
arch/avr32/kernel/init_task.c
View file @
18d8fda7
...
...
@@ -13,7 +13,6 @@
#include <asm/pgtable.h>
static
struct
fs_struct
init_fs
=
INIT_FS
;
static
struct
signal_struct
init_signals
=
INIT_SIGNALS
(
init_signals
);
static
struct
sighand_struct
init_sighand
=
INIT_SIGHAND
(
init_sighand
);
struct
mm_struct
init_mm
=
INIT_MM
(
init_mm
);
...
...
arch/blackfin/kernel/init_task.c
View file @
18d8fda7
...
...
@@ -33,7 +33,6 @@
#include <linux/mqueue.h>
#include <linux/fs.h>
static
struct
fs_struct
init_fs
=
INIT_FS
;
static
struct
signal_struct
init_signals
=
INIT_SIGNALS
(
init_signals
);
static
struct
sighand_struct
init_sighand
=
INIT_SIGHAND
(
init_sighand
);
...
...
arch/cris/kernel/process.c
View file @
18d8fda7
...
...
@@ -37,7 +37,6 @@
* setup.
*/
static
struct
fs_struct
init_fs
=
INIT_FS
;
static
struct
signal_struct
init_signals
=
INIT_SIGNALS
(
init_signals
);
static
struct
sighand_struct
init_sighand
=
INIT_SIGHAND
(
init_sighand
);
struct
mm_struct
init_mm
=
INIT_MM
(
init_mm
);
...
...
arch/frv/kernel/init_task.c
View file @
18d8fda7
...
...
@@ -10,7 +10,6 @@
#include <asm/pgtable.h>
static
struct
fs_struct
init_fs
=
INIT_FS
;
static
struct
signal_struct
init_signals
=
INIT_SIGNALS
(
init_signals
);
static
struct
sighand_struct
init_sighand
=
INIT_SIGHAND
(
init_sighand
);
struct
mm_struct
init_mm
=
INIT_MM
(
init_mm
);
...
...
arch/h8300/kernel/init_task.c
View file @
18d8fda7
...
...
@@ -12,7 +12,6 @@
#include <asm/uaccess.h>
#include <asm/pgtable.h>
static
struct
fs_struct
init_fs
=
INIT_FS
;
static
struct
signal_struct
init_signals
=
INIT_SIGNALS
(
init_signals
);
static
struct
sighand_struct
init_sighand
=
INIT_SIGHAND
(
init_sighand
);
struct
mm_struct
init_mm
=
INIT_MM
(
init_mm
);
...
...
arch/ia64/kernel/init_task.c
View file @
18d8fda7
...
...
@@ -17,7 +17,6 @@
#include <asm/uaccess.h>
#include <asm/pgtable.h>
static
struct
fs_struct
init_fs
=
INIT_FS
;
static
struct
signal_struct
init_signals
=
INIT_SIGNALS
(
init_signals
);
static
struct
sighand_struct
init_sighand
=
INIT_SIGHAND
(
init_sighand
);
struct
mm_struct
init_mm
=
INIT_MM
(
init_mm
);
...
...
arch/m32r/kernel/init_task.c
View file @
18d8fda7
...
...
@@ -11,7 +11,6 @@
#include <asm/uaccess.h>
#include <asm/pgtable.h>
static
struct
fs_struct
init_fs
=
INIT_FS
;
static
struct
signal_struct
init_signals
=
INIT_SIGNALS
(
init_signals
);
static
struct
sighand_struct
init_sighand
=
INIT_SIGHAND
(
init_sighand
);
struct
mm_struct
init_mm
=
INIT_MM
(
init_mm
);
...
...
arch/m68k/kernel/process.c
View file @
18d8fda7
...
...
@@ -40,7 +40,6 @@
* alignment requirements and potentially different initial
* setup.
*/
static
struct
fs_struct
init_fs
=
INIT_FS
;
static
struct
signal_struct
init_signals
=
INIT_SIGNALS
(
init_signals
);
static
struct
sighand_struct
init_sighand
=
INIT_SIGHAND
(
init_sighand
);
struct
mm_struct
init_mm
=
INIT_MM
(
init_mm
);
...
...
arch/m68knommu/kernel/init_task.c
View file @
18d8fda7
...
...
@@ -12,7 +12,6 @@
#include <asm/uaccess.h>
#include <asm/pgtable.h>
static
struct
fs_struct
init_fs
=
INIT_FS
;
static
struct
signal_struct
init_signals
=
INIT_SIGNALS
(
init_signals
);
static
struct
sighand_struct
init_sighand
=
INIT_SIGHAND
(
init_sighand
);
struct
mm_struct
init_mm
=
INIT_MM
(
init_mm
);
...
...
arch/mips/kernel/init_task.c
View file @
18d8fda7
...
...
@@ -9,7 +9,6 @@
#include <asm/uaccess.h>
#include <asm/pgtable.h>
static
struct
fs_struct
init_fs
=
INIT_FS
;
static
struct
signal_struct
init_signals
=
INIT_SIGNALS
(
init_signals
);
static
struct
sighand_struct
init_sighand
=
INIT_SIGHAND
(
init_sighand
);
struct
mm_struct
init_mm
=
INIT_MM
(
init_mm
);
...
...
arch/mn10300/kernel/init_task.c
View file @
18d8fda7
...
...
@@ -18,7 +18,6 @@
#include <asm/uaccess.h>
#include <asm/pgtable.h>
static
struct
fs_struct
init_fs
=
INIT_FS
;
static
struct
signal_struct
init_signals
=
INIT_SIGNALS
(
init_signals
);
static
struct
sighand_struct
init_sighand
=
INIT_SIGHAND
(
init_sighand
);
struct
mm_struct
init_mm
=
INIT_MM
(
init_mm
);
...
...
arch/parisc/kernel/init_task.c
View file @
18d8fda7
...
...
@@ -34,7 +34,6 @@
#include <asm/pgtable.h>
#include <asm/pgalloc.h>
static
struct
fs_struct
init_fs
=
INIT_FS
;
static
struct
signal_struct
init_signals
=
INIT_SIGNALS
(
init_signals
);
static
struct
sighand_struct
init_sighand
=
INIT_SIGHAND
(
init_sighand
);
struct
mm_struct
init_mm
=
INIT_MM
(
init_mm
);
...
...
arch/powerpc/kernel/init_task.c
View file @
18d8fda7
...
...
@@ -7,7 +7,6 @@
#include <linux/mqueue.h>
#include <asm/uaccess.h>
static
struct
fs_struct
init_fs
=
INIT_FS
;
static
struct
signal_struct
init_signals
=
INIT_SIGNALS
(
init_signals
);
static
struct
sighand_struct
init_sighand
=
INIT_SIGHAND
(
init_sighand
);
struct
mm_struct
init_mm
=
INIT_MM
(
init_mm
);
...
...
arch/s390/kernel/init_task.c
View file @
18d8fda7
...
...
@@ -16,7 +16,6 @@
#include <asm/uaccess.h>
#include <asm/pgtable.h>
static
struct
fs_struct
init_fs
=
INIT_FS
;
static
struct
signal_struct
init_signals
=
INIT_SIGNALS
(
init_signals
);
static
struct
sighand_struct
init_sighand
=
INIT_SIGHAND
(
init_sighand
);
struct
mm_struct
init_mm
=
INIT_MM
(
init_mm
);
...
...
arch/sh/kernel/init_task.c
View file @
18d8fda7
...
...
@@ -7,7 +7,6 @@
#include <asm/uaccess.h>
#include <asm/pgtable.h>
static
struct
fs_struct
init_fs
=
INIT_FS
;
static
struct
signal_struct
init_signals
=
INIT_SIGNALS
(
init_signals
);
static
struct
sighand_struct
init_sighand
=
INIT_SIGHAND
(
init_sighand
);
struct
pt_regs
fake_swapper_regs
;
...
...
arch/sparc/kernel/init_task.c
View file @
18d8fda7
...
...
@@ -8,7 +8,6 @@
#include <asm/pgtable.h>
#include <asm/uaccess.h>
static
struct
fs_struct
init_fs
=
INIT_FS
;
static
struct
signal_struct
init_signals
=
INIT_SIGNALS
(
init_signals
);
static
struct
sighand_struct
init_sighand
=
INIT_SIGHAND
(
init_sighand
);
struct
mm_struct
init_mm
=
INIT_MM
(
init_mm
);
...
...
arch/um/kernel/init_task.c
View file @
18d8fda7
...
...
@@ -10,7 +10,6 @@
#include "linux/mqueue.h"
#include "asm/uaccess.h"
static
struct
fs_struct
init_fs
=
INIT_FS
;
struct
mm_struct
init_mm
=
INIT_MM
(
init_mm
);
static
struct
signal_struct
init_signals
=
INIT_SIGNALS
(
init_signals
);
static
struct
sighand_struct
init_sighand
=
INIT_SIGHAND
(
init_sighand
);
...
...
arch/x86/kernel/init_task.c
View file @
18d8fda7
...
...
@@ -10,7 +10,6 @@
#include <asm/pgtable.h>
#include <asm/desc.h>
static
struct
fs_struct
init_fs
=
INIT_FS
;
static
struct
signal_struct
init_signals
=
INIT_SIGNALS
(
init_signals
);
static
struct
sighand_struct
init_sighand
=
INIT_SIGHAND
(
init_sighand
);
struct
mm_struct
init_mm
=
INIT_MM
(
init_mm
);
...
...
arch/xtensa/kernel/init_task.c
View file @
18d8fda7
...
...
@@ -21,7 +21,6 @@
#include <asm/uaccess.h>
static
struct
fs_struct
init_fs
=
INIT_FS
;
static
struct
signal_struct
init_signals
=
INIT_SIGNALS
(
init_signals
);
static
struct
sighand_struct
init_sighand
=
INIT_SIGHAND
(
init_sighand
);
struct
mm_struct
init_mm
=
INIT_MM
(
init_mm
);
...
...
fs/namei.c
View file @
18d8fda7
...
...
@@ -2893,3 +2893,10 @@ EXPORT_SYMBOL(vfs_symlink);
EXPORT_SYMBOL
(
vfs_unlink
);
EXPORT_SYMBOL
(
dentry_unhash
);
EXPORT_SYMBOL
(
generic_readlink
);
/* to be mentioned only in INIT_TASK */
struct
fs_struct
init_fs
=
{
.
count
=
ATOMIC_INIT
(
1
),
.
lock
=
RW_LOCK_UNLOCKED
,
.
umask
=
0022
,
};
include/linux/fs_struct.h
View file @
18d8fda7
...
...
@@ -10,12 +10,6 @@ struct fs_struct {
struct
path
root
,
pwd
;
};
#define INIT_FS { \
.count = ATOMIC_INIT(1), \
.lock = RW_LOCK_UNLOCKED, \
.umask = 0022, \
}
extern
struct
kmem_cache
*
fs_cachep
;
extern
void
exit_fs
(
struct
task_struct
*
);
...
...
include/linux/init_task.h
View file @
18d8fda7
...
...
@@ -12,6 +12,7 @@
#include <net/net_namespace.h>
extern
struct
files_struct
init_files
;
extern
struct
fs_struct
init_fs
;
#define INIT_KIOCTX(name, which_mm) \
{ \
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment