diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/fs_struct.h | 6 | ||||
-rw-r--r-- | include/linux/init_task.h | 1 |
2 files changed, 1 insertions, 6 deletions
diff --git a/include/linux/fs_struct.h b/include/linux/fs_struct.h index 9e5a06e..a97c053 100644 --- a/include/linux/fs_struct.h +++ b/include/linux/fs_struct.h @@ -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 *); diff --git a/include/linux/init_task.h b/include/linux/init_task.h index 959f552..2f3c2d4 100644 --- a/include/linux/init_task.h +++ b/include/linux/init_task.h @@ -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) \ { \ |