diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2008-12-26 00:35:37 -0500 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2008-12-31 18:07:42 -0500 |
commit | 18d8fda7c3c9439be04d7ea2e82da2513b121acb (patch) | |
tree | 6b16a687205c7c027c719fd2249551f58f966618 /fs/namei.c | |
parent | cb23beb55100171646e69e248fb45f10db6e99a4 (diff) |
take init_fs to saner place
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/namei.c')
-rw-r--r-- | fs/namei.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/fs/namei.c b/fs/namei.c index 3f88e043d459..e203691b9d12 100644 --- a/fs/namei.c +++ b/fs/namei.c | |||
@@ -2893,3 +2893,10 @@ EXPORT_SYMBOL(vfs_symlink); | |||
2893 | EXPORT_SYMBOL(vfs_unlink); | 2893 | EXPORT_SYMBOL(vfs_unlink); |
2894 | EXPORT_SYMBOL(dentry_unhash); | 2894 | EXPORT_SYMBOL(dentry_unhash); |
2895 | EXPORT_SYMBOL(generic_readlink); | 2895 | EXPORT_SYMBOL(generic_readlink); |
2896 | |||
2897 | /* to be mentioned only in INIT_TASK */ | ||
2898 | struct fs_struct init_fs = { | ||
2899 | .count = ATOMIC_INIT(1), | ||
2900 | .lock = RW_LOCK_UNLOCKED, | ||
2901 | .umask = 0022, | ||
2902 | }; | ||