diff options
Diffstat (limited to 'fs/proc')
-rw-r--r-- | fs/proc/proc_sysctl.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/proc/proc_sysctl.c b/fs/proc/proc_sysctl.c index 06e6f10ee8ec..f6aa75111b41 100644 --- a/fs/proc/proc_sysctl.c +++ b/fs/proc/proc_sysctl.c | |||
@@ -253,7 +253,6 @@ static struct inode *proc_sys_make_inode(struct super_block *sb, | |||
253 | inode->i_fop = &proc_sys_file_operations; | 253 | inode->i_fop = &proc_sys_file_operations; |
254 | } else { | 254 | } else { |
255 | inode->i_mode |= S_IFDIR; | 255 | inode->i_mode |= S_IFDIR; |
256 | clear_nlink(inode); | ||
257 | inode->i_op = &proc_sys_dir_operations; | 256 | inode->i_op = &proc_sys_dir_operations; |
258 | inode->i_fop = &proc_sys_dir_file_operations; | 257 | inode->i_fop = &proc_sys_dir_file_operations; |
259 | } | 258 | } |