Skip to content

Commit c4e0cd4

Browse files
Zheng YongjunMiklos Szeredi
authored andcommitted
virtiofs: Fix spelling mistakes
Fix some spelling mistakes in comments: refernce ==> reference happnes ==> happens threhold ==> threshold splitted ==> split mached ==> matched Signed-off-by: Zheng Yongjun <[email protected]> Signed-off-by: Miklos Szeredi <[email protected]>
1 parent 6c88632 commit c4e0cd4

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

fs/fuse/dax.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ static int fuse_setup_one_mapping(struct inode *inode, unsigned long start_idx,
212212
dmap->writable = writable;
213213
if (!upgrade) {
214214
/*
215-
* We don't take a refernce on inode. inode is valid right now
215+
* We don't take a reference on inode. inode is valid right now
216216
* and when inode is going away, cleanup logic should first
217217
* cleanup dmap entries.
218218
*/
@@ -621,7 +621,7 @@ static int fuse_iomap_begin(struct inode *inode, loff_t pos, loff_t length,
621621
}
622622

623623
/*
624-
* If read beyond end of file happnes, fs code seems to return
624+
* If read beyond end of file happens, fs code seems to return
625625
* it as hole
626626
*/
627627
iomap_hole:
@@ -1206,7 +1206,7 @@ static void fuse_dax_free_mem_worker(struct work_struct *work)
12061206
ret);
12071207
}
12081208

1209-
/* If number of free ranges are still below threhold, requeue */
1209+
/* If number of free ranges are still below threshold, requeue */
12101210
kick_dmap_free_worker(fcd, 1);
12111211
}
12121212

fs/fuse/dev.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ static void fuse_drop_waiting(struct fuse_conn *fc)
9191
{
9292
/*
9393
* lockess check of fc->connected is okay, because atomic_dec_and_test()
94-
* provides a memory barrier mached with the one in fuse_wait_aborted()
94+
* provides a memory barrier matched with the one in fuse_wait_aborted()
9595
* to ensure no wake-up is missed.
9696
*/
9797
if (atomic_dec_and_test(&fc->num_waiting) &&

fs/fuse/file.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -645,7 +645,7 @@ static ssize_t fuse_get_res_by_io(struct fuse_io_priv *io)
645645
* == bytes_transferred or rw == WRITE, the caller sets 'pos' to -1.
646646
*
647647
* An example:
648-
* User requested DIO read of 64K. It was splitted into two 32K fuse requests,
648+
* User requested DIO read of 64K. It was split into two 32K fuse requests,
649649
* both submitted asynchronously. The first of them was ACKed by userspace as
650650
* fully completed (req->out.args[0].size == 32K) resulting in pos == -1. The
651651
* second request was ACKed as short, e.g. only 1K was read, resulting in

0 commit comments

Comments
 (0)