]> git.proxmox.com Git - mirror_qemu.git/commit
9pfs: drop fid_to_qid()
authorChristian Schoenebeck <qemu_oss@crudebyte.com>
Fri, 4 Jun 2021 17:54:57 +0000 (19:54 +0200)
committerChristian Schoenebeck <qemu_oss@crudebyte.com>
Mon, 5 Jul 2021 11:03:16 +0000 (13:03 +0200)
commit1d0fc0d0eef057dc02055f531907188d19a83cb2
treec53e27d2b2d6160647abb5a276599448747382f6
parent110243750dc4389fe8715c1db87a6ce6c2b9e645
9pfs: drop fid_to_qid()

There is only one user of fid_to_qid() which is v9fs_walk(). Let's
open-code fid_to_qid() directly within v9fs_walk(), because
fid_to_qid() hides the POSIX stat buffer which we are going to need
in the subsequent patch.

Signed-off-by: Christian Schoenebeck <qemu_oss@crudebyte.com>
Reviewed-by: Greg Kurz <groug@kaod.org>
Message-Id: <e9a4c9c7a0792ed4db6578d105a0823ea05bc324.1622821729.git.qemu_oss@crudebyte.com>
hw/9pfs/9p.c