aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_subr.c
diff options
context:
space:
mode:
authorZefan Li <[email protected]>2014-09-26 12:03:25 +0800
committerTejun Heo <[email protected]>2014-09-26 00:16:23 -0400
commite756c7b698604f11a979f2781d06eb7b80aba363 (patch)
treed9deebb021eb70e509f0c44b4094bc18509ea036 /net/lapb/lapb_subr.c
parent0c7bf3e8cab7900e17ce7f97104c39927d835469 (diff)
Revert "cgroup: remove redundant variable in cgroup_mount()"
This reverts commit 0c7bf3e8cab7900e17ce7f97104c39927d835469. If there are child cgroups in the cgroupfs and then we umount it, the superblock will be destroyed but the cgroup_root will be kept around. When we mount it again, cgroup_mount() will find this cgroup_root and allocate a new sb for it. So with this commit we will be trapped in a dead loop in the case described above, because kernfs_pin_sb() keeps returning NULL. Currently I don't see how we can avoid using both pinned_sb and new_sb, so just revert it. Cc: Al Viro <[email protected]> Reported-by: Andrey Wagin <[email protected]> Signed-off-by: Zefan Li <[email protected]> Signed-off-by: Tejun Heo <[email protected]>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions