Commit 1a9fd417 authored by David Sterba's avatar David Sterba
Browse files

btrfs: fix typos in comments



Fix typos that have snuck in since the last round. Found by codespell.

Signed-off-by: default avatarDavid Sterba <dsterba@suse.com>
parent c86bdc9b
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -2757,9 +2757,9 @@ enum btrfs_reserve_flush_enum {
	/*
	 * Flush space by above mentioned methods and by:
	 * - Running delayed iputs
	 * - Commiting transaction
	 * - Committing transaction
	 *
	 * Can be interruped by fatal signal.
	 * Can be interrupted by a fatal signal.
	 */
	BTRFS_RESERVE_FLUSH_DATA,
	BTRFS_RESERVE_FLUSH_FREE_SPACE_INODE,
@@ -2769,7 +2769,7 @@ enum btrfs_reserve_flush_enum {
	 * Pretty much the same as FLUSH_ALL, but can also steal space from
	 * global rsv.
	 *
	 * Can be interruped by fatal signal.
	 * Can be interrupted by a fatal signal.
	 */
	BTRFS_RESERVE_FLUSH_ALL_STEAL,
};
+1 −1
Original line number Diff line number Diff line
@@ -89,7 +89,7 @@
 *    ->outstanding_extents += 1 (current value is 1)
 *
 *  -> set_delalloc
 *    ->outstanding_extents += 1 (currrent value is 2)
 *    ->outstanding_extents += 1 (current value is 2)
 *
 *  -> btrfs_delalloc_release_extents()
 *    ->outstanding_extents -= 1 (current value is 1)
+1 −1
Original line number Diff line number Diff line
@@ -37,7 +37,7 @@
 * - Write duplication
 *
 *   All new writes will be written to both target and source devices, so even
 *   if replace gets canceled, sources device still contans up-to-date data.
 *   if replace gets canceled, sources device still contains up-to-date data.
 *
 *   Location:		handle_ops_on_dev_replace() from __btrfs_map_block()
 *   Start:		btrfs_dev_replace_start()
+1 −1
Original line number Diff line number Diff line
@@ -624,7 +624,7 @@ void btrfs_discard_update_discardable(struct btrfs_block_group *block_group)
 * @fs_info: fs_info of interest
 *
 * The unused_bgs list needs to be punted to the discard lists because the
 * order of operations is changed.  In the normal sychronous discard path, the
 * order of operations is changed.  In the normal synchronous discard path, the
 * block groups are trimmed via a single large trim in transaction commit.  This
 * is ultimately what we are trying to avoid with asynchronous discard.  Thus,
 * it must be done before going down the unused_bgs path.
+1 −1
Original line number Diff line number Diff line
@@ -3471,7 +3471,7 @@ int __cold open_ctree(struct super_block *sb, struct btrfs_fs_devices *fs_device
	 * At this point we know all the devices that make this filesystem,
	 * including the seed devices but we don't know yet if the replace
	 * target is required. So free devices that are not part of this
	 * filesystem but skip the replace traget device which is checked
	 * filesystem but skip the replace target device which is checked
	 * below in btrfs_init_dev_replace().
	 */
	btrfs_free_extra_devids(fs_devices);
Loading