Commit 260db43c authored by Randy Dunlap's avatar Randy Dunlap Committed by David Sterba
Browse files

btrfs: delete duplicated words + other fixes in comments



Delete repeated words in fs/btrfs/.
{to, the, a, and old}
and change "into 2 part" to "into 2 parts".

Reviewed-by: default avatarNikolay Borisov <nborisov@suse.com>
Signed-off-by: default avatarRandy Dunlap <rdunlap@infradead.org>
Reviewed-by: default avatarDavid Sterba <dsterba@suse.com>
Signed-off-by: default avatarDavid Sterba <dsterba@suse.com>
parent 437490fe
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2785,7 +2785,7 @@ int btrfs_write_dirty_block_groups(struct btrfs_trans_handle *trans)
			 * finished yet (no block group item in the extent tree
			 * yet, etc). If this is the case, wait for all free
			 * space endio workers to finish and retry. This is a
			 * a very rare case so no need for a more efficient and
			 * very rare case so no need for a more efficient and
			 * complex approach.
			 */
			if (ret == -ENOENT) {
+1 −1
Original line number Diff line number Diff line
@@ -5115,7 +5115,7 @@ int btrfs_search_forward(struct btrfs_root *root, struct btrfs_key *min_key,
			slot--;
		/*
		 * check this node pointer against the min_trans parameters.
		 * If it is too old, old, skip to the next one.
		 * If it is too old, skip to the next one.
		 */
		while (slot < nritems) {
			u64 gen;
+1 −1
Original line number Diff line number Diff line
@@ -2928,7 +2928,7 @@ int __cold open_ctree(struct super_block *sb, struct btrfs_fs_devices *fs_device
	}

	/*
	 * Verify the type first, if that or the the checksum value are
	 * Verify the type first, if that or the checksum value are
	 * corrupted, we'll find out
	 */
	csum_type = btrfs_super_csum_type(disk_super);
+1 −1
Original line number Diff line number Diff line
@@ -3241,7 +3241,7 @@ static int __do_readpage(struct page *page,

		/*
		 * If we have a file range that points to a compressed extent
		 * and it's followed by a consecutive file range that points to
		 * and it's followed by a consecutive file range that points
		 * to the same compressed extent (possibly with a different
		 * offset and/or length, so it either points to the whole extent
		 * or only part of it), we must make sure we do not submit a
+1 −1
Original line number Diff line number Diff line
@@ -1353,7 +1353,7 @@ static int __btrfs_write_out_cache(struct btrfs_root *root, struct inode *inode,

	/*
	 * at this point the pages are under IO and we're happy,
	 * The caller is responsible for waiting on them and updating the
	 * The caller is responsible for waiting on them and updating
	 * the cache and the inode
	 */
	io_ctl->entries = entries;
Loading