diff options
Diffstat (limited to 'fs/proc/self.c')
-rw-r--r-- | fs/proc/self.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/proc/self.c b/fs/proc/self.c index 4348bb8907c2..6195b4a7c3b1 100644 --- a/fs/proc/self.c +++ b/fs/proc/self.c | |||
@@ -46,7 +46,7 @@ static unsigned self_inum; | |||
46 | 46 | ||
47 | int proc_setup_self(struct super_block *s) | 47 | int proc_setup_self(struct super_block *s) |
48 | { | 48 | { |
49 | struct inode *root_inode = s->s_root->d_inode; | 49 | struct inode *root_inode = d_inode(s->s_root); |
50 | struct pid_namespace *ns = s->s_fs_info; | 50 | struct pid_namespace *ns = s->s_fs_info; |
51 | struct dentry *self; | 51 | struct dentry *self; |
52 | 52 | ||