]> git.baikalelectronics.ru Git - kernel.git/commit
vfs: change d_manage() to take a struct path
authorIan Kent <ikent@redhat.com>
Wed, 23 Nov 2016 21:03:41 +0000 (08:03 +1100)
committerAl Viro <viro@zeniv.linux.org.uk>
Sat, 3 Dec 2016 03:15:53 +0000 (22:15 -0500)
commit694d1f50f5967791875a00720635d802c6a3b181
tree668ce525a98e945beeb49145d30c37c41706450f
parentdec2f91bfd8970aa26b1ca7066e6c695ccaa96dd
vfs: change d_manage() to take a struct path

For the autofs module to be able to reliably check if a dentry is a
mountpoint in a multiple namespace environment the ->d_manage() dentry
operation will need to take a path argument instead of a dentry.

Link: http://lkml.kernel.org/r/20161011053352.27645.83962.stgit@pluto.themaw.net
Signed-off-by: Ian Kent <raven@themaw.net>
Cc: Al Viro <viro@ZenIV.linux.org.uk>
Cc: Eric W. Biederman <ebiederm@xmission.com>
Cc: Omar Sandoval <osandov@osandov.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Documentation/filesystems/Locking
Documentation/filesystems/vfs.txt
fs/autofs4/root.c
fs/namei.c
include/linux/dcache.h