]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
vfs: don't revalidate just looked up dentry
authorMiklos Szeredi <mszeredi@suse.cz>
Mon, 26 Mar 2012 10:54:20 +0000 (12:54 +0200)
committerAl Viro <viro@zeniv.linux.org.uk>
Sat, 31 Mar 2012 20:03:16 +0000 (16:03 -0400)
commit3637c05d881b2b7bab36f339245b8963f5b29c9f
tree771ea8149d971517934d7023a6f3d34ccc42068f
parentfa4ee159512ee39b6c65ac40db986ea7a2f7de60
vfs: don't revalidate just looked up dentry

__lookup_hash() calls ->lookup() if the dentry needs lookup and on success
revalidates the dentry (all under dir->i_mutex).

While this is harmless it doesn't make a lot of sense.

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