History

btrfs: fix typos in comments

Fix typos that have snuck in since the last round. Found by codespell.

David Sterba committed 5 years ago

Commit 1a9fd411 parent c86bdc921 files · +32 −32Browse files

Showing the changes to include/uapi (2 of 21 files). Show all

Unified · Split

2 files
  1. include/uapi/linux/btrfs.h +2 −2
  2. include/uapi/linux/btrfs_tree.h +2 −2
include/uapi/linux/btrfs.h+2−2
@@ -154,7 +154,7 @@ struct btrfs_scrub_progress { · 153 unmodified lines
154154 __u64 tree_bytes_scrubbed; /* # of tree bytes scrubbed */
155155 __u64 read_errors; /* # of read errors encountered (EIO) */
156156 __u64 csum_errors; /* # of failed csum checks */
157− __u64 verify_errors; /* # of occurences, where the metadata
157+ __u64 verify_errors; /* # of occurrences, where the metadata
158158 * of a tree block did not match the
159159 * expected values, like generation or
160160 * logical */
@@ -174,7 +174,7 @@ struct btrfs_scrub_progress { · 13 unmodified lines
174174 __u64 last_physical; /* last physical address scrubbed. In
175175 * case a scrub was aborted, this can
176176 * be used to restart the scrub */
177− __u64 unverified_errors; /* # of occurences where a read for a
177+ __u64 unverified_errors; /* # of occurrences where a read for a
178178 * full (64k) bio failed, but the re-
179179 * check succeeded for each 4k piece.
180180 * Intermittent error. */
include/uapi/linux/btrfs_tree.h+2−2
@@ -59,7 +59,7 @@ · 58 unmodified lines
5959 /* for storing balance parameters in the root tree */
6060 #define BTRFS_BALANCE_OBJECTID -4ULL
6161
62−/* orhpan objectid for tracking unlinked/truncated files */
62+/* orphan objectid for tracking unlinked/truncated files */
6363 #define BTRFS_ORPHAN_OBJECTID -5ULL
6464
6565 /* does write ahead logging to speed up fsyncs */
@@ -275,7 +275,7 @@ · 209 unmodified lines
275275 #define BTRFS_PERSISTENT_ITEM_KEY 249
276276
277277 /*
278− * Persistantly stores the device replace state in the device tree.
278+ * Persistently stores the device replace state in the device tree.
279279 * The key is built like this: (0, BTRFS_DEV_REPLACE_KEY, 0).
280280 */
281281 #define BTRFS_DEV_REPLACE_KEY 250