diff options
| author | Mateusz Guzik <mjguzik@gmail.com> | 2025-11-05 16:06:30 +0100 |
|---|---|---|
| committer | Christian Brauner <brauner@kernel.org> | 2025-11-13 14:22:25 +0100 |
| commit | 030e86dfdaa789dd2e2e481d7118979a9d1f8f4e (patch) | |
| tree | ea2983b96df03a4df59e728aceb281a69ac58a0f /kernel | |
| parent | 9eda581bfe8a1774390dd66f365a2e00a9d27a41 (diff) | |
fs: touch up predicts in path lookup
Rationale:
- ND_ROOT_PRESET is only set in a condition already marked unlikely
- LOOKUP_IS_SCOPED already has unlikely on it, but inconsistently
applied
- set_root() only fails if there is a bug
- most names are not empty (see !*s)
- most of the time path_init() does not encounter LOOKUP_CACHED without
LOOKUP_RCU
- LOOKUP_IN_ROOT is a rarely seen flag
Signed-off-by: Mateusz Guzik <mjguzik@gmail.com>
Link: https://patch.msgid.link/20251105150630.756606-1-mjguzik@gmail.com
Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions