mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-12 06:01:58 +00:00
9p: Track the root fid with its own variable during lookups
Improve readability by using a new variable when dealing with the root fid. The root fid requires special handling in comparison to other fids used during fid lookup. Link: https://lkml.kernel.org/r/20220527000003.355812-3-tyhicks@linux.microsoft.com Signed-off-by: Tyler Hicks <tyhicks@linux.microsoft.com> Signed-off-by: Dominique Martinet <asmadeus@codewreck.org>
This commit is contained in:
parent
03c765b0e3
commit
cba83f47fc
1 changed files with 14 additions and 12 deletions
26
fs/9p/fid.c
26
fs/9p/fid.c
Loading…
Add table
Add a link
Reference in a new issue