diff options
author | Jes Sorensen <jsorensen@fb.com> | 2017-05-16 20:09:57 +0200 |
---|---|---|
committer | Jes Sorensen <jsorensen@fb.com> | 2017-05-16 20:09:57 +0200 |
commit | d16a749444251c12689fa93d398149025a9c2398 (patch) | |
tree | 8a818cc964b203fbd611891ad9f91d3ab50d5510 /super0.c | |
parent | mdadm: Fix '==' broken formatting (diff) | |
download | mdadm-d16a749444251c12689fa93d398149025a9c2398.tar.xz mdadm-d16a749444251c12689fa93d398149025a9c2398.zip |
mdadm: Fixup != broken formatting
Signed-off-by: Jes Sorensen <jsorensen@fb.com>
Diffstat (limited to 'super0.c')
-rw-r--r-- | super0.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -589,8 +589,8 @@ static int update_super0(struct supertype *st, struct mdinfo *info, * being marked 'sync' */ add = (1<<MD_DISK_SYNC); - if (((sb->disks[d].state & ~mask) | add) - != (unsigned)info->disk.state) { + if (((sb->disks[d].state & ~mask) | add) != + (unsigned)info->disk.state) { sb->disks[d].state = info->disk.state | wonly |failfast; rv = 1; } @@ -1058,8 +1058,8 @@ static int load_super0(struct supertype *st, int fd, char *devname) * valid. If it doesn't clear the bit. An --assemble --force * should get that written out. */ - if (read(fd, super+1, ROUND_UP(sizeof(struct bitmap_super_s),4096)) - != ROUND_UP(sizeof(struct bitmap_super_s),4096)) + if (read(fd, super+1, ROUND_UP(sizeof(struct bitmap_super_s),4096)) != + ROUND_UP(sizeof(struct bitmap_super_s), 4096)) goto no_bitmap; uuid_from_super0(st, uuid); |