Fix some spelling mistakes in comments: refernce ==> reference happnes ==> happens threhold ==> threshold splitted ==> split mached ==> matched
Unified · Split
| @@ -212,7 +212,7 @@ static int fuse_setup_one_mapping(struct inode *inode, unsigned long start_idx, · 211 unmodified lines | ||
| 212 | 212 | dmap->writable = writable; |
| 213 | 213 | if (!upgrade) { |
| 214 | 214 | /* |
| 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 | |
| 216 | 216 | * and when inode is going away, cleanup logic should first |
| 217 | 217 | * cleanup dmap entries. |
| 218 | 218 | */ |
| @@ -621,7 +621,7 @@ static int fuse_iomap_begin(struct inode *inode, loff_t pos, loff_t length, · 402 unmodified lines | ||
| 621 | 621 | } |
| 622 | 622 | |
| 623 | 623 | /* |
| 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 | |
| 625 | 625 | * it as hole |
| 626 | 626 | */ |
| 627 | 627 | iomap_hole: |
| @@ -1206,7 +1206,7 @@ static void fuse_dax_free_mem_worker(struct work_struct *work) · 578 unmodified lines | ||
| 1206 | 1206 | ret); |
| 1207 | 1207 | } |
| 1208 | 1208 | |
| 1209 | − /* If number of free ranges are still below threhold, requeue */ | |
| 1209 | + /* If number of free ranges are still below threshold, requeue */ | |
| 1210 | 1210 | kick_dmap_free_worker(fcd, 1); |
| 1211 | 1211 | } |
| 1212 | 1212 | |
| @@ -91,7 +91,7 @@ static void fuse_drop_waiting(struct fuse_conn *fc) · 90 unmodified lines | ||
| 91 | 91 | { |
| 92 | 92 | /* |
| 93 | 93 | * 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() | |
| 95 | 95 | * to ensure no wake-up is missed. |
| 96 | 96 | */ |
| 97 | 97 | if (atomic_dec_and_test(&fc->num_waiting) && |
| @@ -645,7 +645,7 @@ static ssize_t fuse_get_res_by_io(struct fuse_io_priv *io) · 644 unmodified lines | ||
| 645 | 645 | * == bytes_transferred or rw == WRITE, the caller sets 'pos' to -1. |
| 646 | 646 | * |
| 647 | 647 | * 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, | |
| 649 | 649 | * both submitted asynchronously. The first of them was ACKed by userspace as |
| 650 | 650 | * fully completed (req->out.args[0].size == 32K) resulting in pos == -1. The |
| 651 | 651 | * second request was ACKed as short, e.g. only 1K was read, resulting in |