Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751982AbZIYRIm (ORCPT ); Fri, 25 Sep 2009 13:08:42 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751930AbZIYRIi (ORCPT ); Fri, 25 Sep 2009 13:08:38 -0400 Received: from mail2.shareable.org ([80.68.89.115]:42875 "EHLO mail2.shareable.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751378AbZIYRIa (ORCPT ); Fri, 25 Sep 2009 13:08:30 -0400 Date: Fri, 25 Sep 2009 18:08:31 +0100 From: Jamie Lokier To: Miklos Szeredi Cc: "Dr. David Alan Gilbert" , agruen@suse.de, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] vfs: new O_NODE open flag Message-ID: <20090925170831.GB25073@shareable.org> References: <200909250223.58664.agruen@suse.de> <20090925123747.GA31228@gallifrey> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.13 (2006-08-11) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 556 Lines: 15 Miklos Szeredi wrote: > We could implement something similar for non-directories as well, by > treating a NULL path parameter to openat() to mean - reopen: > > fd2 = openat(fd, NULL, O_RDWR); It would be nice to make this behavior consistent across all the *at() functions where it is acceptable. -- Jamie -- 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/