Re: Devlinks. Code. (Dcache abuse?)

Alexander Viro (viro@math.psu.edu)
Fri, 16 Nov 2001 05:33:20 -0500 (EST)


On Fri, 16 Nov 2001, Neil Brown wrote:

> + if (!(nd->mnt->mnt_flags & MNT_NODEV)
> + && dentry->d_inode
> + && (dentry->d_inode->i_mode & S_ISVTX)) {
> + dentry = devlink_find(dentry, link);

You are breaking vfsmount refcounting. Badly.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/