]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit528fec7580f3056e5324175ea8bed0bedadba09a
treef28cdadf58209e309b3ac2d650186aadff26e6b3
parent95bff9fd66ecd812d590c69387965cb20664fd49
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