Trim excessive arguments of follow_mount_rcu()
authorAl Viro <viro@zeniv.linux.org.uk>
Fri, 27 May 2011 10:53:39 +0000 (06:53 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Fri, 27 May 2011 11:01:49 +0000 (07:01 -0400)
commitdea3937619cb67d2ad08e2d29ae923875b1eeee9
treed4c4e3ed44cff625f6d2730c2288961922357ba2
parent287548e46aa752ce9bb87fcff46f8aa794cc5037
Trim excessive arguments of follow_mount_rcu()

... and kill a useless local variable in follow_dotdot_rcu(), while
we are at it - follow_mount_rcu(nd, path, inode) *always* assigned
value to *inode, and always it had been path->dentry->d_inode (aka
nd->path.dentry->d_inode, since it always got &nd->path as the second
argument).

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/namei.c