> I am afraid you won't be happy even if I develop a new feature such like > - ioctl interface to get the opened file path > - /sys/fs/aufs/*/opened_files > - or something. > Because it is essentially equivalent to Magic SysRq.
I've got a tiny idea. Try commenting-out a line in fs/aufs/branch.c:au_br_del(). br = au_sbr(sb, bindex); i = atomic_read(&br->br_count); if (unlikely(i)) { AuVerbose(verbose, "%d file(s) opened\n", i); --> //goto out; } And specify "verbose" when you delete a branch, then you may be able to see what you want. J. R. Okajima ------------------------------------------------------------------------------ The Palm PDK Hot Apps Program offers developers who use the Plug-In Development Kit to bring their C/C++ apps to Palm for a share of $1 Million in cash or HP Products. Visit us here for more details: http://p.sf.net/sfu/dev2dev-palm