ubifs: Fix spelling mistakes
authorAlexander Dahl <ada@thorsis.com>
Mon, 20 Sep 2021 07:05:55 +0000 (09:05 +0200)
committerRichard Weinberger <richard@nod.at>
Thu, 23 Dec 2021 19:23:40 +0000 (20:23 +0100)
Found with `codespell -i 3 -w fs/ubifs/**` and proof reading that parts.

Signed-off-by: Alexander Dahl <ada@thorsis.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
fs/ubifs/dir.c
fs/ubifs/replay.c

index 7c61d0ec0159e404b900f8eea341c4f2fecced96..dbe72f664abf32f8eb945a79da42d10255e3d392 100644 (file)
@@ -1207,7 +1207,7 @@ out_budg:
  * @inode1: first inode
  * @inode2: second inode
  * @inode3: third inode
- * @inode4: fouth inode
+ * @inode4: fourth inode
  *
  * This function is used for 'ubifs_rename()' and @inode1 may be the same as
  * @inode2 whereas @inode3 and @inode4 may be %NULL.
@@ -1233,7 +1233,7 @@ static void lock_4_inodes(struct inode *inode1, struct inode *inode2,
  * @inode1: first inode
  * @inode2: second inode
  * @inode3: third inode
- * @inode4: fouth inode
+ * @inode4: fourth inode
  */
 static void unlock_4_inodes(struct inode *inode1, struct inode *inode2,
                            struct inode *inode3, struct inode *inode4)
index 5260d3e531bb65a04e4e55b75c2a3c4cf6a878de..4211e4456b1e72af149f579e77d0aecd55895a67 100644 (file)
@@ -106,7 +106,7 @@ static int set_bud_lprops(struct ubifs_info *c, struct bud_entry *b)
                 * property values should be @lp->free == @c->leb_size and
                 * @lp->dirty == 0, but that is not the case. The reason is that
                 * the LEB had been garbage collected before it became the bud,
-                * and there was not commit inbetween. The garbage collector
+                * and there was no commit in between. The garbage collector
                 * resets the free and dirty space without recording it
                 * anywhere except lprops, so if there was no commit then
                 * lprops does not have that information.