From: Miklos Szeredi Subject: Re: [PATCH -V16 02/12] vfs: Add name to file handle conversion support Date: Mon, 12 Jul 2010 18:38:50 +0200 Message-ID: References: <1278916545-19751-1-git-send-email-aneesh.kumar@linux.vnet.ibm.com> <1278916545-19751-3-git-send-email-aneesh.kumar@linux.vnet.ibm.com> <87hbk5yrhl.fsf@linux.vnet.ibm.com> Cc: miklos@szeredi.hu, hch@infradead.org, viro@zeniv.linux.org.uk, adilger@sun.com, corbet@lwn.net, neilb@suse.de, npiggin@suse.de, hooanon05@yahoo.co.jp, bfields@fieldses.org, linux-fsdevel@vger.kernel.org, sfrench@us.ibm.com, philippe.deniel@CEA.FR, linux-kernel@vger.kernel.org To: "Aneesh Kumar K. V" Return-path: In-reply-to: <87hbk5yrhl.fsf@linux.vnet.ibm.com> (aneesh.kumar@linux.vnet.ibm.com) Sender: linux-kernel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org On Mon, 12 Jul 2010, Aneesh Kumar K. V wrote: > That would include another stat call on the file to get the st_dev ? As > per the last review (Message-id:20100708082143.3701bfc7@notabene.brown) > http://article.gmane.org/gmane.linux.kernel/1007385 we discussed that > it would be nice to add st_dev as a part of handle. Later I suggested > it would be nice to get mount_id instead of st_dev because st_dev is > not stable (against remounts) for file system that doesn't have a > backing device. So instead of using something that is partially stable, > add mnt_id which is explicitly stated to be unstable across remounts. > > If you are against having mount_id as a part of struct file_handle, do > you think we could add it as a extra argument to syscall ? Yeah, I think that would be cleaner. Thanks, Miklos