Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 424309df authored by Jeevan Shriram's avatar Jeevan Shriram
Browse files

cgroup: fix uninitialized usage of a variable



It is possible that 'root' variable is used uninitialized. This
change avoids usage of uninitialized usage of the variable.

Change-Id: I9a3bd941a23736cb003f209cf6dde84fd859e9e6
Signed-off-by: default avatarJeevan Shriram <jshriram@codeaurora.org>
parent 4c0cc16e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1690,7 +1690,7 @@ static struct dentry *cgroup_mount(struct file_system_type *fs_type,
{
	struct super_block *pinned_sb = NULL;
	struct cgroup_subsys *ss;
	struct cgroup_root *root;
	struct cgroup_root *root = NULL;
	struct cgroup_sb_opts opts;
	struct dentry *dentry;
	int ret;