diff options
author | Christian Schoenebeck | 2020-07-29 10:11:54 +0200 |
---|---|---|
committer | Christian Schoenebeck | 2020-08-12 09:17:32 +0200 |
commit | dd8151f4fed6ee078a33cff4caa9ac5c558940ef (patch) | |
tree | e336d49d59ae107907c73b59f3b4eea814f6018e /hw/9pfs/coth.h | |
parent | 9pfs: make v9fs_readdir_response_size() public (diff) | |
download | qemu-dd8151f4fed6ee078a33cff4caa9ac5c558940ef.tar.gz qemu-dd8151f4fed6ee078a33cff4caa9ac5c558940ef.tar.xz qemu-dd8151f4fed6ee078a33cff4caa9ac5c558940ef.zip |
9pfs: split out fs driver core of v9fs_co_readdir()
The implementation of v9fs_co_readdir() has two parts: the outer
part is executed by main I/O thread, whereas the inner part is
executed by fs driver on a background I/O thread.
Move the inner part to its own new, private function do_readdir(),
so it can be shared by another upcoming new function.
This is just a preparatory patch for the subsequent patch, with the
purpose to avoid the next patch to clutter the overall diff.
Signed-off-by: Christian Schoenebeck <qemu_oss@crudebyte.com>
Reviewed-by: Greg Kurz <groug@kaod.org>
Message-Id: <a426ee06e77584fa2d8253ce5d8bea519eb3ffd4.1596012787.git.qemu_oss@crudebyte.com>
Signed-off-by: Christian Schoenebeck <qemu_oss@crudebyte.com>
Diffstat (limited to 'hw/9pfs/coth.h')
0 files changed, 0 insertions, 0 deletions