aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/disk-io.c
diff options
context:
space:
mode:
authorNicholas D Steeves <nsteeves@gmail.com>2016-05-19 21:18:45 -0400
committerDavid Sterba <dsterba@suse.com>2016-05-25 16:35:14 -0400
commit0132761017e012ab4dc8584d679503f2ba26ca86 (patch)
treea81760d104ee6307d79ba5cf85460afa18a3df21 /fs/btrfs/disk-io.c
parent210aa27768bec4297a9d6ad0e5cab45935c775e9 (diff)
btrfs: fix string and comment grammatical issues and typos
Signed-off-by: Nicholas D Steeves <nsteeves@gmail.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/disk-io.c')
-rw-r--r--fs/btrfs/disk-io.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/fs/btrfs/disk-io.c b/fs/btrfs/disk-io.c
index 263823f28ba4..aacc707ef952 100644
--- a/fs/btrfs/disk-io.c
+++ b/fs/btrfs/disk-io.c
@@ -384,7 +384,7 @@ static int verify_parent_transid(struct extent_io_tree *io_tree,
384 /* 384 /*
385 * Things reading via commit roots that don't have normal protection, 385 * Things reading via commit roots that don't have normal protection,
386 * like send, can have a really old block in cache that may point at a 386 * like send, can have a really old block in cache that may point at a
387 * block that has been free'd and re-allocated. So don't clear uptodate 387 * block that has been freed and re-allocated. So don't clear uptodate
388 * if we find an eb that is under IO (dirty/writeback) because we could 388 * if we find an eb that is under IO (dirty/writeback) because we could
389 * end up reading in the stale data and then writing it back out and 389 * end up reading in the stale data and then writing it back out and
390 * making everybody very sad. 390 * making everybody very sad.
@@ -418,7 +418,7 @@ static int btrfs_check_super_csum(char *raw_disk_sb)
418 /* 418 /*
419 * The super_block structure does not span the whole 419 * The super_block structure does not span the whole
420 * BTRFS_SUPER_INFO_SIZE range, we expect that the unused space 420 * BTRFS_SUPER_INFO_SIZE range, we expect that the unused space
421 * is filled with zeros and is included in the checkum. 421 * is filled with zeros and is included in the checksum.
422 */ 422 */
423 crc = btrfs_csum_data(raw_disk_sb + BTRFS_CSUM_SIZE, 423 crc = btrfs_csum_data(raw_disk_sb + BTRFS_CSUM_SIZE,
424 crc, BTRFS_SUPER_INFO_SIZE - BTRFS_CSUM_SIZE); 424 crc, BTRFS_SUPER_INFO_SIZE - BTRFS_CSUM_SIZE);
@@ -600,7 +600,7 @@ static noinline int check_leaf(struct btrfs_root *root,
600 600
601 /* 601 /*
602 * Check to make sure that we don't point outside of the leaf, 602 * Check to make sure that we don't point outside of the leaf,
603 * just incase all the items are consistent to eachother, but 603 * just in case all the items are consistent to each other, but
604 * all point outside of the leaf. 604 * all point outside of the leaf.
605 */ 605 */
606 if (btrfs_item_end_nr(leaf, slot) > 606 if (btrfs_item_end_nr(leaf, slot) >
@@ -3017,7 +3017,7 @@ retry_root_backup:
3017 } 3017 }
3018 3018
3019 /* 3019 /*
3020 * Mount does not set all options immediatelly, we can do it now and do 3020 * Mount does not set all options immediately, we can do it now and do
3021 * not have to wait for transaction commit 3021 * not have to wait for transaction commit
3022 */ 3022 */
3023 btrfs_apply_pending_changes(fs_info); 3023 btrfs_apply_pending_changes(fs_info);
@@ -3245,7 +3245,7 @@ static void btrfs_end_buffer_write_sync(struct buffer_head *bh, int uptodate)
3245 btrfs_warn_rl_in_rcu(device->dev_root->fs_info, 3245 btrfs_warn_rl_in_rcu(device->dev_root->fs_info,
3246 "lost page write due to IO error on %s", 3246 "lost page write due to IO error on %s",
3247 rcu_str_deref(device->name)); 3247 rcu_str_deref(device->name));
3248 /* note, we dont' set_buffer_write_io_error because we have 3248 /* note, we don't set_buffer_write_io_error because we have
3249 * our own ways of dealing with the IO errors 3249 * our own ways of dealing with the IO errors
3250 */ 3250 */
3251 clear_buffer_uptodate(bh); 3251 clear_buffer_uptodate(bh);