Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S269047AbTGJIDW (ORCPT ); Thu, 10 Jul 2003 04:03:22 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S269043AbTGJIDV (ORCPT ); Thu, 10 Jul 2003 04:03:21 -0400 Received: from f16.mail.ru ([194.67.57.46]:10764 "EHLO f16.mail.ru") by vger.kernel.org with ESMTP id S269047AbTGJICS (ORCPT ); Thu, 10 Jul 2003 04:02:18 -0400 From: =?koi8-r?Q?=22?=Andrey Borzenkov=?koi8-r?Q?=22=20?= To: linux-kernel@vger.kernel.org Subject: Are =?koi8-r?Q?=22?=,=?koi8-r?Q?=22=20?=and =?koi8-r?Q?=22?=..=?koi8-r?Q?=22=20?=in directory required=?koi8-r?Q?=3F?= Mime-Version: 1.0 X-Mailer: mPOP Web-Mail 2.19 X-Originating-IP: [212.248.25.26] Date: Thu, 10 Jul 2003 12:16:56 +0400 Reply-To: =?koi8-r?Q?=22?=Andrey Borzenkov=?koi8-r?Q?=22=20?= Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7BIT Message-Id: Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 680 Lines: 18 Is it possible for readdir to return really empty directory - without and entry, even "." and ".."? The reason is, to enable full FAM/dnotify support for supermount I have to allow open of non-mounted root and - if possible - readdir in this case. Any attepmpt to simulate "." and ".." in this case will result in races between kernel/user space, so the best case would be just return nothing (meaning empty directory). TIA -andrey - 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/