diff options
Diffstat (limited to 'kernel/cgroup.c')
| -rw-r--r-- | kernel/cgroup.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/cgroup.c b/kernel/cgroup.c index 7b69b8d0313d..9270d532ec3c 100644 --- a/kernel/cgroup.c +++ b/kernel/cgroup.c | |||
| @@ -777,6 +777,7 @@ static struct inode *cgroup_new_inode(mode_t mode, struct super_block *sb) | |||
| 777 | struct inode *inode = new_inode(sb); | 777 | struct inode *inode = new_inode(sb); |
| 778 | 778 | ||
| 779 | if (inode) { | 779 | if (inode) { |
| 780 | inode->i_ino = get_next_ino(); | ||
| 780 | inode->i_mode = mode; | 781 | inode->i_mode = mode; |
| 781 | inode->i_uid = current_fsuid(); | 782 | inode->i_uid = current_fsuid(); |
| 782 | inode->i_gid = current_fsgid(); | 783 | inode->i_gid = current_fsgid(); |
