aboutsummaryrefslogtreecommitdiff
path: root/block/file-posix.c
diff options
context:
space:
mode:
authorMichael Tokarev <mjt@tls.msk.ru>2023-07-14 14:06:05 +0300
committerMichael Tokarev <mjt@tls.msk.ru>2023-09-08 13:08:52 +0300
commit3202d8e4047d5f4def96b5404633307c86e8db95 (patch)
treeca5d6ed48c2cda3bf6d94f348e757465a67da076 /block/file-posix.c
parent0a19d8799557f4644cbad76a6e496946166892b2 (diff)
downloadqemu-3202d8e4047d5f4def96b5404633307c86e8db95.zip
qemu-3202d8e4047d5f4def96b5404633307c86e8db95.tar.gz
qemu-3202d8e4047d5f4def96b5404633307c86e8db95.tar.bz2
block: spelling fixes
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru> Reviewed-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'block/file-posix.c')
-rw-r--r--block/file-posix.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/block/file-posix.c b/block/file-posix.c
index b16e9c2..4757914 100644
--- a/block/file-posix.c
+++ b/block/file-posix.c
@@ -1159,9 +1159,9 @@ static int raw_reopen_prepare(BDRVReopenState *state,
* As part of reopen prepare we also want to create new fd by
* raw_reconfigure_getfd(). But it wants updated "perm", when in
* bdrv_reopen_multiple() .bdrv_reopen_prepare() callback called prior to
- * permission update. Happily, permission update is always a part (a seprate
- * stage) of bdrv_reopen_multiple() so we can rely on this fact and
- * reconfigure fd in raw_check_perm().
+ * permission update. Happily, permission update is always a part
+ * (a separate stage) of bdrv_reopen_multiple() so we can rely on this
+ * fact and reconfigure fd in raw_check_perm().
*/
s->reopen_state = state;
@@ -3374,7 +3374,7 @@ static void raw_account_discard(BDRVRawState *s, uint64_t nbytes, int ret)
* of an array of zone descriptors.
* zones is an array of zone descriptors to hold zone information on reply;
* offset can be any byte within the entire size of the device;
- * nr_zones is the maxium number of sectors the command should operate on.
+ * nr_zones is the maximum number of sectors the command should operate on.
*/
#if defined(CONFIG_BLKZONED)
static int coroutine_fn raw_co_zone_report(BlockDriverState *bs, int64_t offset,