]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit956296ef4f269c2330f3214f379b38d507e9995d
treeb7350283378b60366609dca7b02c412b4632879e
parent9485ad5567b039c81e11d4e2f0d355b4db255f57
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