From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx3-rdu2.redhat.com ([66.187.233.73]:51792 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750723AbeFDP1J (ORCPT ); Mon, 4 Jun 2018 11:27:09 -0400 From: David Howells In-Reply-To: References: <20180602040434.GW30522@ZenIV.linux.org.uk> <20180601063928.GS30522@ZenIV.linux.org.uk> <152720672288.9073.9868393448836301272.stgit@warthog.procyon.org.uk> <152720691829.9073.10564431140980997005.stgit@warthog.procyon.org.uk> <20180601062654.GA32397@infradead.org> <7067.1527841663@warthog.procyon.org.uk> <20180602030913.GU30522@ZenIV.linux.org.uk> <20180602034255.GV30522@ZenIV.linux.org.uk> <21804.1527954321@warthog.procyon.org.uk> <20180602174957.GX30522@ZenIV.linux.org.uk> <20180603005532.GZ30522@ZenIV.linux.org.uk> To: Miklos Szeredi Cc: dhowells@redhat.com, Al Viro , Christoph Hellwig , linux-fsdevel , linux-afs@lists.infradead.org, LKML , Linux API Subject: Re: [PATCH][RFC] open_tree(2) (was Re: [PATCH 30/32] vfs: Allow cloning of a mount tree with open(O_PATH|O_CLONE_MOUNT) [ver #8]) MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <26843.1528126021.1@warthog.procyon.org.uk> Date: Mon, 04 Jun 2018 16:27:01 +0100 Message-ID: <26844.1528126021@warthog.procyon.org.uk> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: Miklos Szeredi wrote: > fsinfo = info from path Actually, I was thinking of making fsinfo() detect if it's been given an fsfd and go through an fs_context operation instead in that case. David