Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Tue, 6 Nov 2001 00:23:27 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Tue, 6 Nov 2001 00:23:19 -0500 Received: from vindaloo.ras.ucalgary.ca ([136.159.55.21]:27324 "EHLO vindaloo.ras.ucalgary.ca") by vger.kernel.org with ESMTP id ; Tue, 6 Nov 2001 00:21:57 -0500 Date: Mon, 5 Nov 2001 22:21:52 -0700 Message-Id: <200111060521.fA65LqQ19285@vindaloo.ras.ucalgary.ca> From: Richard Gooch To: Alexander Viro Cc: linux-kernel@vger.kernel.org, Linus Torvalds Subject: Re: more devfs fun (Piled Higher and Deeper) In-Reply-To: In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Alexander Viro writes: > devfs_rmdir() checks that directory is empty. Then it calls > devfsd_notify_one(), which can block. Then it marks the entry > unregistered and reports success. > > Guess what will happen if devfs_register() will happen at that > moment... Yeah, I fixed that one a couple of months ago in the new tree. I now unhook from the directory structure before sending the notification. Regards, Richard.... Permanent: rgooch@atnf.csiro.au Current: rgooch@ras.ucalgary.ca - 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/