• Al Viro's avatar
    [PATCH] sanitize hppfs · f382d6e6
    Al Viro authored
    * hppfs_iget() and its users are racy; there's no need to pollute icache
      anyway, new_inode() works fine and is safe, unlike the current kludges
      (these relied on overwriting ->i_ino before another iget_locked() gets
      to that one - and did it after unlocking).
    * merge hppfs_iget()/init_inode()/hppfs_read_inode(), while we are
      at it.
    * to pass proper vfsmount to dentry_open() store the reference
      in hppfs superblock.
    Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
     --
    f382d6e6
hppfs_kern.c 16.8 KB