diff options
| author | 2022-07-03 22:07:32 -0400 | |
|---|---|---|
| committer | 2022-07-06 13:15:52 -0400 | |
| commit | a4f5b52167a80edec74093fe6fef291a0318f4ba (patch) | |
| tree | c659b811d23b75c68ea04269655e87bf9f28d5ca /tools/perf/util/include/linux/git:/ssh:/git@git.zx2c4.com | |
| parent | namei: stash the sampled ->d_seq into nameidata (diff) | |
| download | linux-dev-a4f5b52167a80edec74093fe6fef291a0318f4ba.tar.xz linux-dev-a4f5b52167a80edec74093fe6fef291a0318f4ba.zip | |
step_into(): lose inode argument
make handle_mounts() always fetch it. This is just the first step -
the callers of step_into() will stop trying to calculate the sucker,
etc.
The passed value should be equal to dentry->d_inode in all cases;
in RCU mode - fetched after we'd sampled ->d_seq. Might as well
fetch it here. We do need to validate ->d_seq, which duplicates
the check currently done in lookup_fast(); that duplication will
go away shortly.
After that change handle_mounts() always ignores the initial value of
*inode and always sets it on success.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'tools/perf/util/include/linux/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
