diff options
Diffstat (limited to '')
| -rw-r--r-- | fs/proc/inode.c | 7 | 
1 files changed, 6 insertions, 1 deletions
| diff --git a/fs/proc/inode.c b/fs/proc/inode.c index 0adbc02d60e3..333080d7a671 100644 --- a/fs/proc/inode.c +++ b/fs/proc/inode.c @@ -442,6 +442,7 @@ struct inode *proc_get_inode(struct super_block *sb, struct proc_dir_entry *de)  int proc_fill_super(struct super_block *s)  {  	struct inode *root_inode; +	int ret;  	s->s_flags |= MS_NODIRATIME | MS_NOSUID | MS_NOEXEC;  	s->s_blocksize = 1024; @@ -463,5 +464,9 @@ int proc_fill_super(struct super_block *s)  		return -ENOMEM;  	} -	return proc_setup_self(s); +	ret = proc_setup_self(s); +	if (ret) { +		return ret; +	} +	return proc_setup_thread_self(s);  } | 
