Skip to content
GitLab
  • Explore
  • Sign in
  • Register
  • xcap
  • xcap-capability-linux
  • Repository
  • xcap-capability-linux
  • drivers
  • infiniband
  • hw
  • ipath
  • ipath_fs.c
Find file Blame History Permalink
  • Jeff Layton's avatar
    inode numbering: change libfs sb creation routines to avoid collisions with their root inodes · 1a1c9bb4
    Jeff Layton authored May 08, 2007
    
    
    This patch makes it so that simple_fill_super and get_sb_pseudo assign their
    root inodes to be number 1.  It also fixes up a couple of callers of
    simple_fill_super that were passing in files arrays that had an index at
    number 1, and adds a warning for any caller that sends in such an array.
    
    It would have been nice to have made it so that it wasn't possible to make
    such a collision, but some callers need to be able to control what inode
    number their entries get, so I think this is the best that can be done.
    
    Signed-off-by: default avatarJeff Layton <jlayton@redhat.com>
    Cc: Christoph Hellwig <hch@lst.de>
    Cc: Al Viro <viro@zeniv.linux.org.uk>
    Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
    1a1c9bb4