BTW, speaking of mntput_long(): I really hate that API. It's asking for subtle leaks - use mntget_long() in pair with mntput() and you are fucked. Worse, these suckers are created with long reference now, so any code that used to use mntput() to kill a cloned/freshly created vfsmount got silently b0rken. A quick look already caught one such case - fs/nfsctl.c do_open() uses mntput() in pair with do_kern_mount(), which leads to longrefs left at 1.
Rationale for that mess, please... _______________________________________________ autofs mailing list autofs@linux.kernel.org http://linux.kernel.org/mailman/listinfo/autofs