[patch 4/5] vfs: reuse local variable in vfs_link()
authorTetsuo Handa <penguin-kernel@i-love.sakura.ne.jp>
Tue, 24 Jun 2008 14:50:15 +0000 (16:50 +0200)
committerAl Viro <viro@zeniv.linux.org.uk>
Sun, 27 Jul 2008 00:53:17 +0000 (20:53 -0400)
commit7e79eedb3b22200cc8b774baea3a7bf28d766101
tree6e0f8ab6c201c671a73bb7f452265a9bf54d3158
parent2f1936b87783a3a56c9441b27b9ba7a747f11e8e
[patch 4/5] vfs: reuse local variable in vfs_link()

Why not reuse "inode" which is assigned as

  struct inode *inode = old_dentry->d_inode;

in the beginning of vfs_link() ?

Signed-off-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
fs/namei.c