separate -ESTALE/-ECHILD retries in do_filp_open() from real work
authorAl Viro <viro@zeniv.linux.org.uk>
Wed, 23 Feb 2011 22:54:08 +0000 (17:54 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Mon, 14 Mar 2011 13:15:25 +0000 (09:15 -0400)
commit13aab428a73d3200b9283b61b7fdf5713181ac66
treeb7350283378b60366609dca7b02c412b4632879e
parent47c805dc2d2dff686962f5f0baa6bac2d703ba19
separate -ESTALE/-ECHILD retries in do_filp_open() from real work

new helper: path_openat().  Does what do_filp_open() does, except
that it tries only the walk mode (RCU/normal/force revalidation)
it had been told to.

Both create and non-create branches are using path_lookupat() now.
Fixed the double audit_inode() in non-create branch.

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