]> git.baikalelectronics.ru Git - kernel.git/commit
Get rid of symlink body copying
authorAl Viro <viro@zeniv.linux.org.uk>
Sat, 26 Dec 2009 13:37:05 +0000 (08:37 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Fri, 5 Mar 2010 14:01:40 +0000 (09:01 -0500)
commit4d0f70de0209b480abdf5fc9f8b8683a8861953a
treeadeac07e1675c51e8d9fa42ccf284b7b893041f1
parent4a70ba6f69e815128db0bd294309054c7f4eb0ee
Get rid of symlink body copying

Now that nd->last stays around until ->put_link() is called, we can
just postpone that ->put_link() in do_filp_open() a bit and don't
bother with copying.

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