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 | |
parent | cb23beb55100171646e69e248fb45f10db6e99a4 (diff) | |
download | linux-18d8fda7c3c9439be04d7ea2e82da2513b121acb.tar.bz2 |
take init_fs to saner place
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs')
-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); 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, +}; |