]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7d26baa04353f6232611bdddf9e6d32b47c7e227
treed4c4e3ed44cff625f6d2730c2288961922357ba2
parent834f996839c411dfeb9d1250defaab5a4068d19e
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