diff options
author | Christian Schoenebeck <qemu_oss@crudebyte.com> | 2021-09-27 17:50:36 +0200 |
---|---|---|
committer | Christian Schoenebeck <qemu_oss@crudebyte.com> | 2021-10-27 14:45:22 +0200 |
commit | 04a7f9e55e0930b87805f7c97851eea4610e78fc (patch) | |
tree | e71564b18c752c0068b57eab1f9f949eb39416a0 /fsdev | |
parent | b565bccb00afe8b73d529bbc3a38682996dac5c7 (diff) |
9pfs: simplify blksize_to_iounit()
Use QEMU_ALIGN_DOWN() macro to reduce code and to make it
more human readable.
Suggested-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: Christian Schoenebeck <qemu_oss@crudebyte.com>
Reviewed-by: Greg Kurz <groug@kaod.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <b84eb324d2ebdcc6f9c442c97b5b4d01eecb4f43.1632758315.git.qemu_oss@crudebyte.com>
Diffstat (limited to 'fsdev')
0 files changed, 0 insertions, 0 deletions