[PATCH] sanitize hppfs
authorAl Viro <viro@zeniv.linux.org.uk>
Sat, 23 Feb 2008 09:53:53 +0000 (04:53 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Wed, 19 Mar 2008 10:42:18 +0000 (06:42 -0400)
commitf382d6e631fe424200ee0d8bb16539f5b7bef7be
tree03692bc57fa9cce5d12ace0b57fc03c11b6fa72f
parent1dd0dd111f1b7591f2848fffdb06044053f66c40
[PATCH] sanitize hppfs

* 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: Al Viro <viro@zeniv.linux.org.uk>
 --
fs/hppfs/hppfs_kern.c