lkml.org 
[lkml]   [2010]   [Oct]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 15/18] fs: introduce a per-cpu last_ino allocator
On Fri, Oct 08, 2010 at 12:09:44PM +0200, Andi Kleen wrote:

> > Can be done if you bother to add ->getattr() for those, but you'll need
> > to do some kind of lazy allocation of inumbers for those; fstat() _will_
> > want st_ino.
>
> Why not just put 0 in st_ino for sockets/pipes/etc. ?

Because it's a userland-visible change; right now you can compare
i_ino for sockets...


\
 
 \ /
  Last update: 2010-10-08 12:21    [W:0.359 / U:0.012 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site