diff options
| author | Jan Blunck <jblunck@suse.de> | 2008-02-14 22:34:38 -0500 |
|---|---|---|
| committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2008-02-15 00:13:33 -0500 |
| commit | 6ac08c39a16f72c2d3e845cb6849a1392fa03e80 (patch) | |
| tree | d7603571e9ab3ea4b57b7901211320e48d0c5ed8 /init | |
| parent | 5dd784d04924be5d8bc066aded0ec3274b20e612 (diff) | |
Use struct path in fs_struct
* Use struct path in fs_struct.
Signed-off-by: Andreas Gruenbacher <agruen@suse.de>
Signed-off-by: Jan Blunck <jblunck@suse.de>
Acked-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'init')
| -rw-r--r-- | init/do_mounts.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/init/do_mounts.c b/init/do_mounts.c index f86573126f83..3885e70e7759 100644 --- a/init/do_mounts.c +++ b/init/do_mounts.c | |||
| @@ -193,10 +193,10 @@ static int __init do_mount_root(char *name, char *fs, int flags, void *data) | |||
| 193 | return err; | 193 | return err; |
| 194 | 194 | ||
| 195 | sys_chdir("/root"); | 195 | sys_chdir("/root"); |
| 196 | ROOT_DEV = current->fs->pwdmnt->mnt_sb->s_dev; | 196 | ROOT_DEV = current->fs->pwd.mnt->mnt_sb->s_dev; |
| 197 | printk("VFS: Mounted root (%s filesystem)%s.\n", | 197 | printk("VFS: Mounted root (%s filesystem)%s.\n", |
| 198 | current->fs->pwdmnt->mnt_sb->s_type->name, | 198 | current->fs->pwd.mnt->mnt_sb->s_type->name, |
| 199 | current->fs->pwdmnt->mnt_sb->s_flags & MS_RDONLY ? | 199 | current->fs->pwd.mnt->mnt_sb->s_flags & MS_RDONLY ? |
| 200 | " readonly" : ""); | 200 | " readonly" : ""); |
| 201 | return 0; | 201 | return 0; |
| 202 | } | 202 | } |
