vfs: do_last(): common slow lookup
authorMiklos Szeredi <mszeredi@suse.cz>
Tue, 5 Jun 2012 13:10:14 +0000 (15:10 +0200)
committerAl Viro <viro@zeniv.linux.org.uk>
Sat, 14 Jul 2012 12:33:00 +0000 (16:33 +0400)
commit7157486541bffc0dfec912e21ae639b029dae3d3
tree67fb5de90ec7c05600935fa7b774265b7205b84b
parentb6183df7b294997a748eeb9991daa126986ead12
vfs: do_last(): common slow lookup

Make the slow lookup part of O_CREAT and non-O_CREAT opens common.

This allows atomic_open to be hooked into the slow lookup part.

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