History

virtiofs: Fix spelling mistakes

Fix some spelling mistakes in comments: refernce ==> reference happnes ==> happens threhold ==> threshold splitted ==> split mached ==> matched

Zheng Yongjun committed 5 years ago

Commit c4e0cd41 parent 6c886323 files · +5 −5Browse files

Unified · Split

3 files
  1. fs/fuse/dax.c +3 −3
  2. fs/fuse/dev.c +1 −1
  3. fs/fuse/file.c +1 −1
fs/fuse/dax.c+3−3
@@ -212,7 +212,7 @@ static int fuse_setup_one_mapping(struct inode *inode, unsigned long start_idx, · 211 unmodified lines
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, · 402 unmodified lines
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) · 578 unmodified lines
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+1−1
@@ -91,7 +91,7 @@ static void fuse_drop_waiting(struct fuse_conn *fc) · 90 unmodified lines
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+1−1
@@ -645,7 +645,7 @@ static ssize_t fuse_get_res_by_io(struct fuse_io_priv *io) · 644 unmodified lines
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