diff options
author | Lucas De Marchi <lucas.demarchi@profusion.mobi> | 2011-03-30 21:57:33 -0400 |
---|---|---|
committer | Lucas De Marchi <lucas.demarchi@profusion.mobi> | 2011-03-31 10:26:23 -0400 |
commit | 25985edcedea6396277003854657b5f3cb31a628 (patch) | |
tree | f026e810210a2ee7290caeb737c23cb6472b7c38 /drivers/block/drbd/drbd_main.c | |
parent | 6aba74f2791287ec407e0f92487a725a25908067 (diff) |
Fix common misspellings
Fixes generated by 'codespell' and manually reviewed.
Signed-off-by: Lucas De Marchi <lucas.demarchi@profusion.mobi>
Diffstat (limited to 'drivers/block/drbd/drbd_main.c')
-rw-r--r-- | drivers/block/drbd/drbd_main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/block/drbd/drbd_main.c b/drivers/block/drbd/drbd_main.c index dfc85f32d317..5b525c179f39 100644 --- a/drivers/block/drbd/drbd_main.c +++ b/drivers/block/drbd/drbd_main.c | |||
@@ -1561,7 +1561,7 @@ static void after_state_ch(struct drbd_conf *mdev, union drbd_state os, | |||
1561 | if (drbd_send_state(mdev)) | 1561 | if (drbd_send_state(mdev)) |
1562 | dev_warn(DEV, "Notified peer that I'm now diskless.\n"); | 1562 | dev_warn(DEV, "Notified peer that I'm now diskless.\n"); |
1563 | /* corresponding get_ldev in __drbd_set_state | 1563 | /* corresponding get_ldev in __drbd_set_state |
1564 | * this may finaly trigger drbd_ldev_destroy. */ | 1564 | * this may finally trigger drbd_ldev_destroy. */ |
1565 | put_ldev(mdev); | 1565 | put_ldev(mdev); |
1566 | } | 1566 | } |
1567 | 1567 | ||
@@ -3706,7 +3706,7 @@ int drbd_md_read(struct drbd_conf *mdev, struct drbd_backing_dev *bdev) | |||
3706 | buffer = (struct meta_data_on_disk *)page_address(mdev->md_io_page); | 3706 | buffer = (struct meta_data_on_disk *)page_address(mdev->md_io_page); |
3707 | 3707 | ||
3708 | if (!drbd_md_sync_page_io(mdev, bdev, bdev->md.md_offset, READ)) { | 3708 | if (!drbd_md_sync_page_io(mdev, bdev, bdev->md.md_offset, READ)) { |
3709 | /* NOTE: cant do normal error processing here as this is | 3709 | /* NOTE: can't do normal error processing here as this is |
3710 | called BEFORE disk is attached */ | 3710 | called BEFORE disk is attached */ |
3711 | dev_err(DEV, "Error while reading metadata.\n"); | 3711 | dev_err(DEV, "Error while reading metadata.\n"); |
3712 | rv = ERR_IO_MD_DISK; | 3712 | rv = ERR_IO_MD_DISK; |