Re: 3.5-rc3: BUG: Dentry still in use (1) [unmount of cgroup cgroup]

From: Al Viro
Date: Sat Jun 30 2012 - 02:48:15 EST


On Sat, Jun 30, 2012 at 02:13:02PM +0800, Li Zefan wrote:

> dput will drop both the subdir and the root's dentry refcnt, but kill_sb will be called
> inbetween.

????!!!!??!?!?

> So it's bad to have dentry refcnts dangling after umount.

No shit. Yes, it is bad. What on the Earth is cgroup code doing with
those? And what could it possibly want to do with dentry reference
after the filesystem has been shut down, assuming it could hold one
in the first place?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/