[git pull] vfs.git namei stuff
From: Al Viro
Date: Mon Apr 09 2018 - 13:38:01 EST
Making lookup_one_len() safe with parent locked only shared
(incoming afs series wants that) + fix of getname_kernel() regression
from 2015 (-stable fodder, that one).
The following changes since commit 04bbc9795d2e89c79edf48fb1303ace2e8c90a60:
Merge branch 'old.dcache' into work.dcache (2018-04-04 00:40:19 -0400)
are available in the git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git work.namei
for you to fetch changes up to 30ce4d1903e1d8a7ccd110860a5eef3c638ed8be:
getname_kernel() needs to make sure that ->name != ->iname in long case (2018-04-08 11:57:10 -0400)
----------------------------------------------------------------
Al Viro (4):
merge common parts of lookup_one_len{,_unlocked} into common helper
new helper: __lookup_slow()
make lookup_one_len() safe to use with directory locked shared
getname_kernel() needs to make sure that ->name != ->iname in long case
fs/namei.c | 124 ++++++++++++++++++++++++++++---------------------------------
1 file changed, 57 insertions(+), 67 deletions(-)