diff options
| author | Al Viro <viro@zeniv.linux.org.uk> | 2008-05-10 20:44:54 -0400 |
|---|---|---|
| committer | Al Viro <viro@zeniv.linux.org.uk> | 2008-07-26 20:53:20 -0400 |
| commit | 7f2da1e7d0330395e5e9e350b879b98a1ea495df (patch) | |
| tree | adc01ced45bb1de10fe58511e7143bbbd138a192 /include/linux | |
| parent | 8bb79224b87aab92071e94d46e70bd160d89bf34 (diff) | |
[PATCH] kill altroot
long overdue...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/fs_struct.h | 3 | ||||
| -rw-r--r-- | include/linux/namei.h | 1 |
2 files changed, 1 insertions, 3 deletions
diff --git a/include/linux/fs_struct.h b/include/linux/fs_struct.h index 282f54219129..9e5a06e78d02 100644 --- a/include/linux/fs_struct.h +++ b/include/linux/fs_struct.h | |||
| @@ -7,7 +7,7 @@ struct fs_struct { | |||
| 7 | atomic_t count; | 7 | atomic_t count; |
| 8 | rwlock_t lock; | 8 | rwlock_t lock; |
| 9 | int umask; | 9 | int umask; |
| 10 | struct path root, pwd, altroot; | 10 | struct path root, pwd; |
| 11 | }; | 11 | }; |
| 12 | 12 | ||
| 13 | #define INIT_FS { \ | 13 | #define INIT_FS { \ |
| @@ -19,7 +19,6 @@ struct fs_struct { | |||
| 19 | extern struct kmem_cache *fs_cachep; | 19 | extern struct kmem_cache *fs_cachep; |
| 20 | 20 | ||
| 21 | extern void exit_fs(struct task_struct *); | 21 | extern void exit_fs(struct task_struct *); |
| 22 | extern void set_fs_altroot(void); | ||
| 23 | extern void set_fs_root(struct fs_struct *, struct path *); | 22 | extern void set_fs_root(struct fs_struct *, struct path *); |
| 24 | extern void set_fs_pwd(struct fs_struct *, struct path *); | 23 | extern void set_fs_pwd(struct fs_struct *, struct path *); |
| 25 | extern struct fs_struct *copy_fs_struct(struct fs_struct *); | 24 | extern struct fs_struct *copy_fs_struct(struct fs_struct *); |
diff --git a/include/linux/namei.h b/include/linux/namei.h index 3cf62d26d493..768773d57857 100644 --- a/include/linux/namei.h +++ b/include/linux/namei.h | |||
| @@ -47,7 +47,6 @@ enum {LAST_NORM, LAST_ROOT, LAST_DOT, LAST_DOTDOT, LAST_BIND}; | |||
| 47 | #define LOOKUP_DIRECTORY 2 | 47 | #define LOOKUP_DIRECTORY 2 |
| 48 | #define LOOKUP_CONTINUE 4 | 48 | #define LOOKUP_CONTINUE 4 |
| 49 | #define LOOKUP_PARENT 16 | 49 | #define LOOKUP_PARENT 16 |
| 50 | #define LOOKUP_NOALT 32 | ||
| 51 | #define LOOKUP_REVAL 64 | 50 | #define LOOKUP_REVAL 64 |
| 52 | /* | 51 | /* |
| 53 | * Intent data | 52 | * Intent data |
