9p: Track the root fid with its own variable during lookups
authorTyler Hicks <tyhicks@linux.microsoft.com>
Fri, 27 May 2022 00:00:00 +0000 (19:00 -0500)
committerDominique Martinet <dominique.martinet@atmark-techno.com>
Sat, 2 Jul 2022 09:52:21 +0000 (18:52 +0900)
commitcba83f47fc0ef52638870890e9e352afcc56dd73
treef28cdadf58209e309b3ac2d650186aadff26e6b3
parent03c765b0e3b4cb5063276b086c76f7a612856a9a
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>
fs/9p/fid.c