From: Bernd Schubert Subject: Re: [PATCH 0/3] Extended file stat functions Date: Tue, 29 Jun 2010 23:24:32 +0200 Message-ID: <201006292324.32765.bernd.schubert@fastmail.fm> References: <201006292307.42440.bernd.schubert@fastmail.fm> <20100629200259.23196.81509.stgit@warthog.procyon.org.uk> <24517.1277845879@redhat.com> Mime-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Cc: viro-RmSDqhL/yNMiFSDQTTA3OLVCufUGDwFn@public.gmane.org, smfrench-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org, jlayton-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org, mcao-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org, aneesh.kumar-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org, linux-cifs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-fsdevel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, samba-technical-w/Ol4Ecudpl8XjKLYN78aQ@public.gmane.org, sjayaraman-l3A5Bk7waGM@public.gmane.org, linux-ext4-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: David Howells Return-path: In-Reply-To: <24517.1277845879-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org> Sender: linux-cifs-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: linux-ext4.vger.kernel.org On Tuesday, June 29, 2010, David Howells wrote: > Bernd Schubert wrote: > > Is there any chance we can use that chance and also add a field > > > > unsigned long long st_gen > > > > to struct_ xstat? Inode generation numbers really would be useful for > > userspace NFS servers and some fuse filesystems. > > That would be st_inode_version (equivalent to i_generation internally). Ah, great, so already there :) I was looking for st_gen, as it is called that way on BSD. And as BSD already has it for a long time, shouldn't linux use the BSD identifier? Thanks, Bernd