vfs: do_last(): use inode variable
authorMiklos Szeredi <mszeredi@suse.cz>
Mon, 21 May 2012 15:30:08 +0000 (17:30 +0200)
committerAl Viro <viro@zeniv.linux.org.uk>
Fri, 1 Jun 2012 16:11:57 +0000 (12:11 -0400)
commitdecf3400879d02d0eafedea52c7f208587be062a
tree988c4006b9689c50cb43a379069dc5ea019567d8
parenta1eb33153090549e622ab42cb375af06614dd7a8
vfs: do_last(): use inode variable

Use helper variable instead of path->dentry->d_inode before complete_walk().
This will allow this code to be used in RCU mode.

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