commit | 18d8fda7c3c9439be04d7ea2e82da2513b121acb | [log] [tgz] |
---|---|---|
author | Al Viro <viro@zeniv.linux.org.uk> | Fri Dec 26 00:35:37 2008 -0500 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Wed Dec 31 18:07:42 2008 -0500 |
tree | 6b16a687205c7c027c719fd2249551f58f966618 | |
parent | cb23beb55100171646e69e248fb45f10db6e99a4 [diff] [blame] |
take init_fs to saner place Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
diff --git a/fs/namei.c b/fs/namei.c index 3f88e04..e203691 100644 --- a/fs/namei.c +++ b/fs/namei.c
@@ -2893,3 +2893,10 @@ 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, +};