Skip to content
  • Al Viro's avatar
    [PATCH] bfs iget() abuses · c2b513df
    Al Viro authored
    
    
    bfs_fill_super() walks the inode table to get the bitmap of free inodes
    and collect stats.  It has no business using iget() for that - it's a
    lot of extra work, extra icache pollution and more complex code.
    Switched to walking the damn thing directly.
    
    Note: that also allows to kill ->i_dsk_ino in there - separate patch if
    Tigran can confirm that this field can be zero only for deleted inodes
    (i.e.  something that could only be found during that scan and not by
    normal lookups).
    
    Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
    Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
    c2b513df