Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Fri, 16 Nov 2001 05:33:46 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Fri, 16 Nov 2001 05:33:37 -0500 Received: from leibniz.math.psu.edu ([146.186.130.2]:31721 "EHLO math.psu.edu") by vger.kernel.org with ESMTP id ; Fri, 16 Nov 2001 05:33:22 -0500 Date: Fri, 16 Nov 2001 05:33:20 -0500 (EST) From: Alexander Viro To: Neil Brown cc: linux-kernel@vger.kernel.org Subject: Re: Devlinks. Code. (Dcache abuse?) In-Reply-To: <15348.58752.207182.488419@notabene.cse.unsw.edu.au> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org 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/