diff options
Diffstat (limited to 'fs/sysfs/mount.c')
-rw-r--r-- | fs/sysfs/mount.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/fs/sysfs/mount.c b/fs/sysfs/mount.c index 119f39da1ae1..92f407fb1263 100644 --- a/fs/sysfs/mount.c +++ b/fs/sysfs/mount.c | |||
@@ -49,11 +49,6 @@ static int sysfs_fill_super(struct super_block *sb, void *data, int silent) | |||
49 | return -ENOMEM; | 49 | return -ENOMEM; |
50 | } | 50 | } |
51 | 51 | ||
52 | inode->i_op = &sysfs_dir_inode_operations; | ||
53 | inode->i_fop = &sysfs_dir_operations; | ||
54 | inc_nlink(inode); /* directory, account for "." */ | ||
55 | unlock_new_inode(inode); | ||
56 | |||
57 | /* instantiate and link root dentry */ | 52 | /* instantiate and link root dentry */ |
58 | root = d_alloc_root(inode); | 53 | root = d_alloc_root(inode); |
59 | if (!root) { | 54 | if (!root) { |