Commit a4f5b52
Al Viro
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 <[email protected]>1 parent 03fa86e commit a4f5b52
1 file changed
+9
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1536 | 1536 | | |
1537 | 1537 | | |
1538 | 1538 | | |
| 1539 | + | |
| 1540 | + | |
| 1541 | + | |
1539 | 1542 | | |
1540 | 1543 | | |
1541 | 1544 | | |
| |||
1848 | 1851 | | |
1849 | 1852 | | |
1850 | 1853 | | |
1851 | | - | |
| 1854 | + | |
1852 | 1855 | | |
1853 | 1856 | | |
| 1857 | + | |
1854 | 1858 | | |
1855 | 1859 | | |
1856 | 1860 | | |
| |||
1976 | 1980 | | |
1977 | 1981 | | |
1978 | 1982 | | |
1979 | | - | |
| 1983 | + | |
1980 | 1984 | | |
1981 | 1985 | | |
1982 | 1986 | | |
| |||
2021 | 2025 | | |
2022 | 2026 | | |
2023 | 2027 | | |
2024 | | - | |
| 2028 | + | |
2025 | 2029 | | |
2026 | 2030 | | |
2027 | 2031 | | |
| |||
2480 | 2484 | | |
2481 | 2485 | | |
2482 | 2486 | | |
2483 | | - | |
2484 | | - | |
| 2487 | + | |
2485 | 2488 | | |
2486 | 2489 | | |
2487 | 2490 | | |
| |||
3470 | 3473 | | |
3471 | 3474 | | |
3472 | 3475 | | |
3473 | | - | |
| 3476 | + | |
3474 | 3477 | | |
3475 | 3478 | | |
3476 | 3479 | | |
| |||
0 commit comments