diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2018-04-25 10:28:38 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2018-05-13 15:47:58 -0400 |
commit | b127125d9db23e4856156a7c909a3c8e18b69f99 (patch) | |
tree | 82ea9af2ccc31d709a71f4990323e0b8d98ca9aa /fs | |
parent | 79f546a696bff2590169fb5684e23d65f4d9f591 (diff) | |
download | op-kernel-dev-b127125d9db23e4856156a7c909a3c8e18b69f99.zip op-kernel-dev-b127125d9db23e4856156a7c909a3c8e18b69f99.tar.gz |
fix breakage caused by d_find_alias() semantics change
"VFS: don't keep disconnected dentries on d_anon" had a non-trivial
side-effect - d_unhashed() now returns true for those dentries,
making d_find_alias() skip them altogether. For most of its callers
that's fine - we really want a connected alias there. However,
there is a codepath where we relied upon picking such aliases
if nothing else could be found - selinux delayed initialization
of contexts for inodes on already mounted filesystems used to
rely upon that.
Cc: stable@kernel.org # f1ee616214cb "VFS: don't keep disconnected dentries on d_anon"
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions