Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752901Ab2HTScd (ORCPT ); Mon, 20 Aug 2012 14:32:33 -0400 Received: from fieldses.org ([174.143.236.118]:37381 "EHLO fieldses.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751116Ab2HTScb (ORCPT ); Mon, 20 Aug 2012 14:32:31 -0400 Date: Mon, 20 Aug 2012 14:32:25 -0400 To: Cyrill Gorcunov Cc: "Aneesh Kumar K.V" , linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, Al Viro , Alexey Dobriyan , Andrew Morton , Pavel Emelyanov , James Bottomley , Matthew Helsley Subject: Re: [patch 4/8] fs, exportfs: Add export_encode_inode_fh helper Message-ID: <20120820183225.GB4911@fieldses.org> References: <20120815092116.700948346@openvz.org> <20120815092409.591460800@openvz.org> <87fw7habo4.fsf@skywalker.in.ibm.com> <20120820163338.GN23596@moon> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20120820163338.GN23596@moon> User-Agent: Mutt/1.5.20 (2009-06-14) From: "J. Bruce Fields" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1065 Lines: 25 On Mon, Aug 20, 2012 at 08:33:38PM +0400, Cyrill Gorcunov wrote: > On Mon, Aug 20, 2012 at 07:49:23PM +0530, Aneesh Kumar K.V wrote: > > Cyrill Gorcunov writes: > > > > > To provide fsnotify object inodes being watched without > > > binding to alphabetical path we need to encode them with > > > exportfs help. This patch adds a helper which operates > > > with plain inodes directly. > > > > doesn't name_to_handle_at() work for you ? It also allows to get a file > > handle using file descriptor. > > Hi, sorry for dealy. Well, the last idea is to get rid of this helper, > I've sent out an updated version where ino+dev is only printed. I don't understand how ino and dev are useful to you, though, if you're still hoping to be able to look up inodes using this information later on. --b. -- 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/