Searched hist:a4f5b521 (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/fs/ |
H A D | namei.c | a4f5b521 Sun Jul 03 21:07:32 CDT 2022 Al Viro <viro@zeniv.linux.org.uk> 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>
|