Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752011AbZIYRVH (ORCPT ); Fri, 25 Sep 2009 13:21:07 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751202AbZIYRVG (ORCPT ); Fri, 25 Sep 2009 13:21:06 -0400 Received: from turing-police.cc.vt.edu ([128.173.14.107]:51097 "EHLO turing-police.cc.vt.edu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751185AbZIYRVG (ORCPT ); Fri, 25 Sep 2009 13:21:06 -0400 X-Mailer: exmh version 2.7.2 01/07/2005 with nmh-1.2 To: "Dr. David Alan Gilbert" Cc: Miklos Szeredi , Andreas Gruenbacher , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] vfs: new O_NODE open flag In-Reply-To: Your message of "Fri, 25 Sep 2009 13:37:47 BST." <20090925123747.GA31228@gallifrey> From: Valdis.Kletnieks@vt.edu References: <200909250223.58664.agruen@suse.de> <20090925123747.GA31228@gallifrey> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="==_Exmh_1253899252_2918P"; micalg=pgp-sha1; protocol="application/pgp-signature" Content-Transfer-Encoding: 7bit Date: Fri, 25 Sep 2009 13:20:52 -0400 Message-ID: <9988.1253899252@turing-police.cc.vt.edu> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1070 Lines: 34 --==_Exmh_1253899252_2918P Content-Type: text/plain; charset=us-ascii On Fri, 25 Sep 2009 13:37:47 BST, "Dr. David Alan Gilbert" said: > Given an fd opened in this way is it possible to reopen it normally and > be guarenteed to get the same object? It's not possible even without this flag. Consider: fd1 = open("/tmp/foo",flags); rc = rename("/tmp/foo","/tmp/bar"); fd2 = open("/tmp/foo",flags); Or were you asking if *absent that sort of tomfoolery* if it would work? --==_Exmh_1253899252_2918P Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Exmh version 2.5 07/13/2001 iD8DBQFKvPv0cC3lWbTT17ARAvs2AJ9yrHE+Uw5kwTEe7b9pBZZMwNvOjgCg4gGu 5P25hI/VFnTiK/NOMkhOWVc= =Vfdk -----END PGP SIGNATURE----- --==_Exmh_1253899252_2918P-- -- 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/