Skip to content

Commit a42938e

Browse files
Xichao Zhaodamien-lemoal
authored andcommitted
zonefs: correct some spelling mistakes
Trivial fix to spelling mistake in comment text. (1) fix "unwriten"->"unwritten" (2) fix "writen"->"written" Signed-off-by: Xichao Zhao <[email protected]> Signed-off-by: Damien Le Moal <[email protected]>
1 parent 8f5ae30 commit a42938e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

fs/zonefs/file.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ static int zonefs_write_iomap_begin(struct inode *inode, loff_t offset,
8585
/*
8686
* For conventional zones, all blocks are always mapped. For sequential
8787
* zones, all blocks after always mapped below the inode size (zone
88-
* write pointer) and unwriten beyond.
88+
* write pointer) and unwritten beyond.
8989
*/
9090
mutex_lock(&zi->i_truncate_mutex);
9191
iomap->bdev = inode->i_sb->s_bdev;

fs/zonefs/super.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ static void zonefs_handle_io_error(struct inode *inode, struct blk_zone *zone,
268268
* Check the zone condition: if the zone is not "bad" (offline or
269269
* read-only), read errors are simply signaled to the IO issuer as long
270270
* as there is no inconsistency between the inode size and the amount of
271-
* data writen in the zone (data_size).
271+
* data written in the zone (data_size).
272272
*/
273273
data_size = zonefs_check_zone_condition(sb, z, zone);
274274
isize = i_size_read(inode);
@@ -282,7 +282,7 @@ static void zonefs_handle_io_error(struct inode *inode, struct blk_zone *zone,
282282
* For the latter case, the cause may be a write IO error or an external
283283
* action on the device. Two error patterns exist:
284284
* 1) The inode size is lower than the amount of data in the zone:
285-
* a write operation partially failed and data was writen at the end
285+
* a write operation partially failed and data was written at the end
286286
* of the file. This can happen in the case of a large direct IO
287287
* needing several BIOs and/or write requests to be processed.
288288
* 2) The inode size is larger than the amount of data in the zone:

0 commit comments

Comments
 (0)