From: Tejun Heo Date: Tue, 3 Jul 2012 17:38:06 +0000 (-0700) Subject: cgroup: cgroup_rm_files() was calling simple_unlink() with the wrong inode X-Git-Tag: v3.6-rc1~105^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ce27e317ba22b359bde02216afab934dac3af095;p=pandora-kernel.git cgroup: cgroup_rm_files() was calling simple_unlink() with the wrong inode While refactoring cgroup file removal path, 05ef1d7c4a "cgroup: introduce struct cfent" incorrectly changed the @dir argument of simple_unlink() to the inode of the file being deleted instead of that of the containing directory. The effect of this bug is minor - ctime and mtime of the parent weren't properly updated on file deletion. Fix it by using @cgrp->dentry->d_inode instead. Signed-off-by: Tejun Heo Reported-by: Al Viro Acked-by: Li Zefan Cc: stable@vger.kernel.org --- Reading git-diff-tree failed