From mboxrd@z Thu Jan 1 00:00:00 1970 From: Cyrill Gorcunov Subject: Re: [patch 4/8] fs, exportfs: Add export_encode_inode_fh helper Date: Mon, 20 Aug 2012 20:33:38 +0400 Message-ID: <20120820163338.GN23596@moon> References: <20120815092116.700948346@openvz.org> <20120815092409.591460800@openvz.org> <87fw7habo4.fsf@skywalker.in.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, Al Viro , Alexey Dobriyan , Andrew Morton , Pavel Emelyanov , James Bottomley , Matthew Helsley To: "Aneesh Kumar K.V" Return-path: Content-Disposition: inline In-Reply-To: <87fw7habo4.fsf@skywalker.in.ibm.com> Sender: linux-kernel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org 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. Cyrill