VFS: Make link_path_walk set LOOKUP_CONTINUE before calling permission().
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 18 Oct 2005 21:20:18 +0000 (14:20 -0700)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 18 Oct 2005 21:20:18 +0000 (14:20 -0700)
commitcdce5d6b94b6182f6d8a5b7b52923933e98cbc92
treee98ec006186a5d18fac2189dc1d6ece1fda9541f
parent6f926b5ba75c568296ec227e7d782db4ddbdca5c
VFS: Make link_path_walk set LOOKUP_CONTINUE before calling permission().

 This will allow nfs_permission() to perform additional optimizations when
 walking the path, by folding the ACCESS(MAY_EXEC) call on the directory
 into the lookup revalidation.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/namei.c