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
154 __u64 tree_bytes_scrubbed; /* # of tree bytes scrubbed */154 __u64 tree_bytes_scrubbed; /* # of tree bytes scrubbed */
155 __u64 read_errors; /* # of read errors encountered (EIO) */155 __u64 read_errors; /* # of read errors encountered (EIO) */
156 __u64 csum_errors; /* # of failed csum checks */156 __u64 csum_errors; /* # of failed csum checks */
157 __u64 verify_errors; /* # of occurences, where the metadata157 __u64 verify_errors; /* # of occurrences, where the metadata
158 * of a tree block did not match the158 * of a tree block did not match the
159 * expected values, like generation or159 * expected values, like generation or
160 * logical */160 * logical */
@@ -174,7 +174,7 @@ struct btrfs_scrub_progress { · 13 unmodified lines
174 __u64 last_physical; /* last physical address scrubbed. In174 __u64 last_physical; /* last physical address scrubbed. In
175 * case a scrub was aborted, this can175 * case a scrub was aborted, this can
176 * be used to restart the scrub */176 * be used to restart the scrub */
177 __u64 unverified_errors; /* # of occurences where a read for a177 __u64 unverified_errors; /* # of occurrences where a read for a
178 * full (64k) bio failed, but the re-178 * full (64k) bio failed, but the re-
179 * check succeeded for each 4k piece.179 * check succeeded for each 4k piece.
180 * Intermittent error. */180 * Intermittent error. */
include/uapi/linux/btrfs_tree.h+2−2
@@ -59,7 +59,7 @@ · 58 unmodified lines
59/* for storing balance parameters in the root tree */59/* for storing balance parameters in the root tree */
60#define BTRFS_BALANCE_OBJECTID -4ULL60#define BTRFS_BALANCE_OBJECTID -4ULL
61 61
62/* orhpan objectid for tracking unlinked/truncated files */62/* orphan objectid for tracking unlinked/truncated files */
63#define BTRFS_ORPHAN_OBJECTID -5ULL63#define BTRFS_ORPHAN_OBJECTID -5ULL
64 64
65/* does write ahead logging to speed up fsyncs */65/* does write ahead logging to speed up fsyncs */
@@ -275,7 +275,7 @@ · 209 unmodified lines
275#define BTRFS_PERSISTENT_ITEM_KEY 249275#define BTRFS_PERSISTENT_ITEM_KEY 249
276 276
277/*277/*
278 * Persistantly stores the device replace state in the device tree.278 * Persistently stores the device replace state in the device tree.
279 * The key is built like this: (0, BTRFS_DEV_REPLACE_KEY, 0).279 * The key is built like this: (0, BTRFS_DEV_REPLACE_KEY, 0).
280 */280 */
281#define BTRFS_DEV_REPLACE_KEY 250281#define BTRFS_DEV_REPLACE_KEY 250