summaryrefslogtreecommitdiff
path: root/drivers/crypto
diff options
context:
space:
mode:
authorLi Zefan <lizefan@huawei.com>2014-04-04 09:14:41 (GMT)
committerTejun Heo <tj@kernel.org>2014-04-04 12:22:27 (GMT)
commitc6b3d5bcd67c75961a1e8b9564d1475c0f194a84 (patch)
treee6ed4f1c3b98474996b6b61e232569564d86d352 /drivers/crypto
parent4a4389abdd9822fdf3cc2ac6ed87eb811fd43acc (diff)
downloadlinux-c6b3d5bcd67c75961a1e8b9564d1475c0f194a84.tar.xz
cgroup: fix top cgroup refcnt leak
As mount() and kill_sb() is not a one-to-one match, If we mount the same cgroupfs in serveral mount points, and then umount all of them, kill_sb() will be called only once. Try: # mount -t cgroup -o cpuacct xxx /cgroup # mount -t cgroup -o cpuacct xxx /cgroup2 # cat /proc/cgroups | grep cpuacct cpuacct 2 1 1 # umount /cgroup # umount /cgroup2 # cat /proc/cgroups | grep cpuacct cpuacct 2 1 1 You'll see cgroupfs will never be freed. Signed-off-by: Li Zefan <lizefan@huawei.com> Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'drivers/crypto')
0 files changed, 0 insertions, 0 deletions