summaryrefslogtreecommitdiffstats
path: root/super1.c
diff options
context:
space:
mode:
authorZhilong Liu <zlliu@suse.com>2017-09-05 11:41:38 +0200
committerJes Sorensen <jsorensen@fb.com>2017-10-02 22:00:33 +0200
commit5c1dec3e3e85f98c82c8253bf7e7ef5d6ce94268 (patch)
treed65c2062956c24c4d7bfc1b95aa45314db0a59dd /super1.c
parentmdadm/manpage: disable bitmap_resize for external file bitmap (diff)
downloadmdadm-5c1dec3e3e85f98c82c8253bf7e7ef5d6ce94268.tar.xz
mdadm-5c1dec3e3e85f98c82c8253bf7e7ef5d6ce94268.zip
mdadm: fixes some trivial typos in comments
fix some trivial typos in comments. Signed-off-by: Zhilong Liu <zlliu@suse.com> Signed-off-by: Jes Sorensen <jsorensen@fb.com>
Diffstat (limited to 'super1.c')
-rw-r--r--super1.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/super1.c b/super1.c
index f6a10450..3cfbbc02 100644
--- a/super1.c
+++ b/super1.c
@@ -89,12 +89,12 @@ struct mdp_superblock_1 {
/* bad block log. If there are any bad blocks the feature flag is set.
* if offset and size are non-zero, that space is reserved and available.
*/
- __u8 bblog_shift; /* shift from sectors to block size for badblocklist */
- __u16 bblog_size; /* number of sectors reserved for badblocklist */
+ __u8 bblog_shift; /* shift from sectors to block size for badblock list */
+ __u16 bblog_size; /* number of sectors reserved for badblock list */
__u32 bblog_offset; /* sector offset from superblock to bblog, signed */
/* array state information - 64 bytes */
- __u64 utime; /* 40 bits second, 24 btes microseconds */
+ __u64 utime; /* 40 bits second, 24 bits microseconds */
__u64 events; /* incremented when superblock updated */
__u64 resync_offset; /* data before this offset (from data_offset) known to be in sync */
__u32 sb_csum; /* checksum upto dev_roles[max_dev] */
@@ -2396,7 +2396,7 @@ add_internal_bitmap1(struct supertype *st,
/*
* If not may_change, then this is a 'Grow' without sysfs support for
* bitmaps, and the bitmap must fit after the superblock at 1K offset.
- * If may_change, then this is create or a Grow with sysfs syupport,
+ * If may_change, then this is create or a Grow with sysfs support,
* and we can put the bitmap wherever we like.
*
* size is in sectors, chunk is in bytes !!!