aboutsummaryrefslogtreecommitdiff
path: root/fs/fuse/dax.c
diff options
context:
space:
mode:
authorZheng Yongjun2021-06-04 09:46:17 +0800
committerMiklos Szeredi2021-06-22 09:15:36 +0200
commitc4e0cd4e0c16544ff0afecf07a5fe17de6077233 (patch)
treeb0721a072331b32eb3f9c0c480e3d1c3fa508be3 /fs/fuse/dax.c
parent6c88632be3827899953d9bc2260da378394007b7 (diff)
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 <zhengyongjun3@huawei.com> Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Diffstat (limited to 'fs/fuse/dax.c')
-rw-r--r--fs/fuse/dax.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/fuse/dax.c b/fs/fuse/dax.c
index ff99ab2a3c43..a005859d1c1c 100644
--- a/fs/fuse/dax.c
+++ b/fs/fuse/dax.c
@@ -212,7 +212,7 @@ static int fuse_setup_one_mapping(struct inode *inode, unsigned long start_idx,
dmap->writable = writable;
if (!upgrade) {
/*
- * We don't take a refernce on inode. inode is valid right now
+ * We don't take a reference on inode. inode is valid right now
* and when inode is going away, cleanup logic should first
* cleanup dmap entries.
*/
@@ -621,7 +621,7 @@ static int fuse_iomap_begin(struct inode *inode, loff_t pos, loff_t length,
}
/*
- * If read beyond end of file happnes, fs code seems to return
+ * If read beyond end of file happens, fs code seems to return
* it as hole
*/
iomap_hole:
@@ -1206,7 +1206,7 @@ static void fuse_dax_free_mem_worker(struct work_struct *work)
ret);
}
- /* If number of free ranges are still below threhold, requeue */
+ /* If number of free ranges are still below threshold, requeue */
kick_dmap_free_worker(fcd, 1);
}